summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index ab37a98..e07019f 100644
--- a/Lib/cmd.py
+++ b/Lib/cmd.py
@@ -55,8 +55,8 @@ class Cmd:
return
func()
else:
- import getattr
- names = getattr.dir(self)
+ import newdir
+ names = newdir.dir(self)
cmds = []
for name in names:
if name[:3] == 'do_':