Module getattr doesn't exist any more, it's now called newdir.
This commit is contained in:
parent
1e28e5e596
commit
732282fa11
|
@ -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_':
|
||||
|
|
Loading…
Reference in New Issue