mirror of https://github.com/dirtbags/moth.git
Removing leftover debugging output
This commit is contained in:
parent
a2ceea3176
commit
ca88bffaf3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue