install.py

changeset 3595
a8433c7a0d8c
parent 3594
778ae276540f
child 3596
f98e1946c74f
equal deleted inserted replaced
3594:778ae276540f 3595:a8433c7a0d8c
366 # step 3: descent into subdirectories and delete them if empty 366 # step 3: descent into subdirectories and delete them if empty
367 for name in os.listdir(dirName): 367 for name in os.listdir(dirName):
368 name = os.path.join(dirName, name) 368 name = os.path.join(dirName, name)
369 if os.path.isdir(name): 369 if os.path.isdir(name):
370 cleanupSource(name) 370 cleanupSource(name)
371 if len(os.listdir(name)) == 0: 371 if len(os.listdir(name)) == 0:
372 os.rmdir(name) 372 os.rmdir(name)
373 373
374 374
375 def cleanUp(): 375 def cleanUp():
376 """ 376 """
377 Uninstall the old eric files. 377 Uninstall the old eric files.

eric ide

mercurial