/usr/lib/python2.3/tabnanny.py util.py
This commit is contained in:
@@ -104,7 +104,6 @@ def clean_dir(top):
|
|||||||
for name in dirs:
|
for name in dirs:
|
||||||
os.rmdir(os.path.join(root, name))
|
os.rmdir(os.path.join(root, name))
|
||||||
|
|
||||||
|
|
||||||
def dir_size(dir):
|
def dir_size(dir):
|
||||||
""" calculate the size of files under a dir
|
""" calculate the size of files under a dir
|
||||||
based on the os module example"""
|
based on the os module example"""
|
||||||
|
|||||||
Reference in New Issue
Block a user