uninstall.py

branch
6_1_x
changeset 4560
d9b6b9d1ba2c
parent 4021
195a471c327b
child 4562
63e68b863c0d
equal deleted inserted replaced
4558:069c28a30ad1 4560:d9b6b9d1ba2c
190 os.path.join(macAppBundlePath, 190 os.path.join(macAppBundlePath,
191 macAppBundleName), 191 macAppBundleName),
192 ]: 192 ]:
193 if os.path.exists(bundlePath): 193 if os.path.exists(bundlePath):
194 shutil.rmtree(bundlePath) 194 shutil.rmtree(bundlePath)
195
196 print("\nUninstallation completed")
195 except (IOError, OSError) as msg: 197 except (IOError, OSError) as msg:
196 sys.stderr.write( 198 sys.stderr.write(
197 'Error: {0}\nTry uninstall with admin rights.\n'.format(msg)) 199 'Error: {0}\nTry uninstall with admin rights.\n'.format(msg))
198 exit(7) 200 exit(7)
199 201

eric ide

mercurial