Uninstall Leakfinder
Hi Shane, What the recommended way to uninstall the Leakfinder product? cheers, Chris
Chris Withers wrote:
What the recommended way to uninstall the Leakfinder product?
There isn't an easy way right now. Here's a fix to your external method: def fix_cp(self): cp = self.Control_Panel try: del cp.LeakFinder except: pass try: del cp._objects return "done" except: pass return "nope" Shane
Shane Hathaway wrote:
Chris Withers wrote:
What the recommended way to uninstall the Leakfinder product?
There isn't an easy way right now. Here's a fix to your external method:
This is the one I ended up with, in case it's of use to anyone else: from zLOG import LOG, ERROR import sys def fix_cp(self): cp = self.Control_Panel try: del cp.LeakFinder except: LOG('Fixup',ERROR,'Exception Occurred:',error=sys.exc_info()) try: del cp._objects except: LOG('Fixup',ERROR,'Exception Occurred:',error=sys.exc_info()) return 'Done'
participants (2)
-
Chris Withers -
Shane Hathaway