From ca88bffaf3b3521a7d875c2749dde2989f1d9267 Mon Sep 17 00:00:00 2001 From: John Donaldson Date: Thu, 15 Aug 2019 23:34:10 +0100 Subject: [PATCH] Removing leftover debugging output --- devel/moth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/moth.py b/devel/moth.py index fd53c6a..9ed0388 100644 --- a/devel/moth.py +++ b/devel/moth.py @@ -28,11 +28,12 @@ def djb2hash(str): def pushd(newdir): curdir = os.getcwd() os.chdir(newdir) + # Force a copy of the old path, instead of just a reference old_path = list(sys.path) old_modules = copy.copy(sys.modules) sys.path.append(newdir) - print("New path: %s" % (sys.path,)) + try: yield finally: