scripts/uninstall.py

branch
eric7
changeset 10403
ea3320d5e8e9
parent 10372
1444b4bee64b
child 10417
c6011e501282
equal deleted inserted replaced
10402:1b63ffeca110 10403:ea3320d5e8e9
179 "ericDir", 179 "ericDir",
180 ]: 180 ]:
181 with contextlib.suppress(AttributeError): 181 with contextlib.suppress(AttributeError):
182 dirpath = getConfig(name) 182 dirpath = getConfig(name)
183 if os.path.exists(dirpath): 183 if os.path.exists(dirpath):
184 shutil.rmtree(dirpath, True) 184 shutil.rmtree(dirpath, ignore_errors=True)
185 185
186 # Cleanup translations 186 # Cleanup translations
187 for name in glob.glob( 187 for name in glob.glob(
188 os.path.join(getConfig("ericTranslationsDir"), "eric7_*.qm") 188 os.path.join(getConfig("ericTranslationsDir"), "eric7_*.qm")
189 ): 189 ):

eric ide

mercurial