Commit 544b9a97 authored by Florent Guillaume's avatar Florent Guillaume

Merge from 2.0 branch:

Fixed to correctly munge sys.path.
parent 8f5d0913
...@@ -22,7 +22,7 @@ import socket ...@@ -22,7 +22,7 @@ import socket
import ThreadedAsync.LoopCallback import ThreadedAsync.LoopCallback
def directory(p, n=1): def directory(p, n=1):
d = p d = os.path.abspath(p)
while n: while n:
d = os.path.split(d)[0] d = os.path.split(d)[0]
if not d or d == '.': 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