9446:7965921a8b07 | 9449:c982bacca23f |
---|---|
480 Uninstall the old eric files. | 480 Uninstall the old eric files. |
481 """ | 481 """ |
482 global platBinDir | 482 global platBinDir |
483 | 483 |
484 try: | 484 try: |
485 from eric7config import getConfig | 485 from eric7.Globals import getConfig |
486 except ImportError: | 486 except ImportError: |
487 # eric wasn't installed previously | 487 # eric wasn't installed previously |
488 return | 488 return |
489 except SyntaxError: | 489 except SyntaxError: |
490 # an incomplete or old config file was found | 490 # an incomplete or old config file was found |
646 | 646 |
647 def cleanUpMacAppBundle(): | 647 def cleanUpMacAppBundle(): |
648 """ | 648 """ |
649 Uninstall the macOS application bundle. | 649 Uninstall the macOS application bundle. |
650 """ | 650 """ |
651 from eric7config import getConfig | 651 from eric7.Globals import getConfig |
652 | 652 |
653 try: | 653 try: |
654 macAppBundlePath = getConfig("macAppBundlePath") | 654 macAppBundlePath = getConfig("macAppBundlePath") |
655 macAppBundleName = getConfig("macAppBundleName") | 655 macAppBundleName = getConfig("macAppBundleName") |
656 except AttributeError: | 656 except AttributeError: |