mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
rollback [20090226150237-b2345-1e916a746a7f4627b050f02f0e442fae5caf69d4] for 1.4.0 release; #645
This commit is contained in:
parent
69efdb5b2a
commit
5b02896307
@ -314,8 +314,9 @@ class SFTPHandler:
|
||||
return d
|
||||
|
||||
def _convert_sftp_path(self, pathstring):
|
||||
assert pathstring[0] == "/"
|
||||
pathstring = pathstring.strip("/")
|
||||
if pathstring == "" or ".":
|
||||
if pathstring == "":
|
||||
path = []
|
||||
else:
|
||||
path = pathstring.split("/")
|
||||
|
Loading…
Reference in New Issue
Block a user