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):
|
def pushd(newdir):
|
||||||
curdir = os.getcwd()
|
curdir = os.getcwd()
|
||||||
os.chdir(newdir)
|
os.chdir(newdir)
|
||||||
|
|
||||||
# Force a copy of the old path, instead of just a reference
|
# Force a copy of the old path, instead of just a reference
|
||||||
old_path = list(sys.path)
|
old_path = list(sys.path)
|
||||||
old_modules = copy.copy(sys.modules)
|
old_modules = copy.copy(sys.modules)
|
||||||
sys.path.append(newdir)
|
sys.path.append(newdir)
|
||||||
print("New path: %s" % (sys.path,))
|
|
||||||
try:
|
try:
|
||||||
yield
|
yield
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue