[MERGE] fix ftp with filezilla
bzr revid: fp@tinyerp.com-20121113081755-d0769mzd2yluf903
This commit is contained in:
commit
1993f0a3d3
|
@ -272,7 +272,7 @@ class abstracted_fs(object):
|
|||
if path.startswith('/'):
|
||||
path = path[1:]
|
||||
|
||||
p_parts = path.split('/') # hard-code the unix sep here, by spec.
|
||||
p_parts = path.split(os.sep)
|
||||
|
||||
assert '..' not in p_parts
|
||||
|
||||
|
|
Loading…
Reference in New Issue