Commit 5ba6627c authored by Florent Guillaume's avatar Florent Guillaume

Merge from 2.0 branch:

Fixed to correctly munge sys.path.
parent 304f3cf0
......@@ -22,7 +22,7 @@ import socket
import ThreadedAsync.LoopCallback
def directory(p, n=1):
d = p
d = os.path.abspath(p)
while n:
d = os.path.split(d)[0]
if not d or d == '.':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment