walmgr: drop reference to traceback object
authorMarko Kreen <markokr@gmail.com>
Thu, 18 Oct 2012 10:41:13 +0000 (13:41 +0300)
committerMarko Kreen <markokr@gmail.com>
Thu, 18 Oct 2012 12:42:28 +0000 (15:42 +0300)
python/walmgr.py

index 604ba6913e36f40e50b98e2e419661e02c727277..408d8650dced78c8a4cf513ba08ed3167157ea4a 100755 (executable)
@@ -1751,6 +1751,7 @@ STOP TIME: %(stop_time)s
                 self.log.fatal("xrestore %s crashed: %s: '%s' (%s: %s)" % (
                            srcname, str(exc), str(msg).rstrip(),
                            str(tb), repr(traceback.format_tb(tb))))
+                del tb
                 time.sleep(10)
                 self.log.info("Re-exec: %s", repr(sys.argv))
                 os.execv(sys.argv[0], sys.argv)