mirror of https://github.com/python/cpython
parent
4dedbf7197
commit
bb3753d720
|
@ -13,7 +13,7 @@ from stat import *
|
|||
|
||||
# Directory comparison class.
|
||||
#
|
||||
class dircmp():
|
||||
class dircmp:
|
||||
#
|
||||
def new(dd, (a, b)): # Initialize
|
||||
dd.a = a
|
||||
|
@ -128,7 +128,7 @@ class dircmp():
|
|||
dd.report()
|
||||
try:
|
||||
x = dd.subdirs
|
||||
except NameError:
|
||||
except AttributeError:
|
||||
return # No subdirectories computed
|
||||
for x in dd.subdirs.keys():
|
||||
print
|
||||
|
|
Loading…
Reference in New Issue