Rev 3522: Tweak SITE_CHMOD server command. in file:///net/bigmamac/Volumes/home/vila/src/bzr/experimental/more-ftp/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Tue Mar 17 08:14:02 GMT 2009
At file:///net/bigmamac/Volumes/home/vila/src/bzr/experimental/more-ftp/
------------------------------------------------------------
revno: 3522
revision-id: v.ladeuil+lp at free.fr-20090317081400-9tjv65u6f77sfsu0
parent: v.ladeuil+lp at free.fr-20090303154749-61puv7w8t2pnz7zm
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: pyftpdlib
timestamp: Tue 2009-03-17 09:14:00 +0100
message:
Tweak SITE_CHMOD server command.
* bzrlib/tests/ftp_server/pyftpdlib_based.py:
(BZRConformingFTPHandler.ftp_SITE_CHMOD): Allow spaces in paths.
-------------- next part --------------
=== modified file 'BRANCH.TODO'
--- a/BRANCH.TODO 2009-03-01 10:02:00 +0000
+++ b/BRANCH.TODO 2009-03-17 08:14:00 +0000
@@ -3,8 +3,8 @@
#
#
-- explicit test to forbid empty password for ftp ?
+- explicit test to forbid empty password for ftp ? Or try using
+ arg_needed = None for the PASS command as suggested.
- handle unicode or utf-8 encoded paths
-- try using _map to fix failing tests
-- call _ftp_server.close_all in the server thread and/or switch
- to an implementation that doesn't use serve_forever
+- explicit test for chmod and path with spaces
+
=== modified file 'bzrlib/tests/ftp_server/pyftpdlib_based.py'
--- a/bzrlib/tests/ftp_server/pyftpdlib_based.py 2009-03-03 15:47:49 +0000
+++ b/bzrlib/tests/ftp_server/pyftpdlib_based.py 2009-03-17 08:14:00 +0000
@@ -96,7 +96,7 @@
def ftp_SITE_CHMOD(self, line):
try:
- mode, path = line.split()
+ mode, path = line.split(None, 1)
mode = int(mode, 8)
except ValueError:
# We catch both malformed line and malformed mode with the same
More information about the bazaar-commits
mailing list