projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69efdb5
)
rollback [20090226150237-b2345-1e916a746a7f4627b050f02f0e442fae5caf69d4] for 1.4...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Sat, 11 Apr 2009 18:19:06 +0000
(11:19 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Sat, 11 Apr 2009 18:19:06 +0000
(11:19 -0700)
src/allmydata/frontends/sftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/sftpd.py
b/src/allmydata/frontends/sftpd.py
index 3e5a55e9871ba96fbcc7f878c6321406b36b11be..aa15bbba7db5f1f66974a0fdbd7155d769a8600f 100644
(file)
--- a/
src/allmydata/frontends/sftpd.py
+++ b/
src/allmydata/frontends/sftpd.py
@@
-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("/")