[Zope3-checkins] CVS: Zope3/src/zope/server/ftp - ftpserverchannel.py:1.1.2.3 ftpstatusmessages.py:1.1.2.2 osemulators.py:1.1.2.2 passiveacceptor.py:1.1.2.2 publisherfilesystemaccess.py:1.1.2.2 publisherftpserverchannel.py:1.1.2.2 recvchannel.py:1.1.2.4 testfilesystemaccess.py:1.1.2.2 xmitchannel.py:1.1.2.2
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:50 -0500
Update of /cvs-repository/Zope3/src/zope/server/ftp
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/server/ftp
Modified Files:
Tag: NameGeddon-branch
ftpserverchannel.py ftpstatusmessages.py osemulators.py
passiveacceptor.py publisherfilesystemaccess.py
publisherftpserverchannel.py recvchannel.py
testfilesystemaccess.py xmitchannel.py
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py. The
files are fixed-points of that script now. Fixed a few cases where
code relied on significant trailing whitespace (ouch).
=== Zope3/src/zope/server/ftp/ftpserverchannel.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/server/ftp/ftpserverchannel.py:1.1.2.2 Tue Dec 24 07:51:31 2002
+++ Zope3/src/zope/server/ftp/ftpserverchannel.py Tue Dec 24 21:21:19 2002
@@ -538,4 +538,3 @@
if cdc is not None:
self.client_dc = None
cdc.close()
-
=== Zope3/src/zope/server/ftp/ftpstatusmessages.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/ftpstatusmessages.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/ftpstatusmessages.py Tue Dec 24 21:21:19 2002
@@ -69,4 +69,3 @@
'ERR_RENAME' : '560 Could not rename "%s" to "%s": %s',
'ERR_RNFR_SOURCE' : '560 No source filename specify. Call RNFR first.',
}
-
=== Zope3/src/zope/server/ftp/osemulators.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/osemulators.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/osemulators.py Tue Dec 24 21:21:19 2002
@@ -14,7 +14,7 @@
"""OS-Emulator Package
Simulates OS-level directory listing output for *nix and MS-DOS (including
-Windows NT).
+Windows NT).
$Id$
"""
@@ -37,7 +37,7 @@
def ls_longify((filename, stat_info)):
"""Formats a directory entry similarly to the 'ls' command.
"""
-
+
# Note that we expect a little deviance from the result of os.stat():
# we expect the ST_UID and ST_GID fields to contain user IDs.
username = str(stat_info[stat.ST_UID])[:8]
=== Zope3/src/zope/server/ftp/passiveacceptor.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/passiveacceptor.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/passiveacceptor.py Tue Dec 24 21:21:19 2002
@@ -76,4 +76,3 @@
else:
self.ready = conn, addr
self.close()
-
=== Zope3/src/zope/server/ftp/publisherfilesystemaccess.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/publisherfilesystemaccess.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/publisherfilesystemaccess.py Tue Dec 24 21:21:19 2002
@@ -44,5 +44,3 @@
def open(self, credentials):
return PublisherFileSystem(credentials, self.request_factory)
-
-
=== Zope3/src/zope/server/ftp/publisherftpserverchannel.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/publisherftpserverchannel.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/publisherftpserverchannel.py Tue Dec 24 21:21:19 2002
@@ -30,9 +30,3 @@
return 1, 'User successfully authenticated.'
else:
return 0, 'User could not be authenticated.'
-
-
-
-
-
-
=== Zope3/src/zope/server/ftp/recvchannel.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/server/ftp/recvchannel.py:1.1.2.3 Tue Dec 24 07:51:31 2002
+++ Zope3/src/zope/server/ftp/recvchannel.py Tue Dec 24 21:21:19 2002
@@ -100,4 +100,3 @@
def defer(self):
'See ITask'
pass
-
=== Zope3/src/zope/server/ftp/testfilesystemaccess.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/testfilesystemaccess.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/testfilesystemaccess.py Tue Dec 24 21:21:19 2002
@@ -42,5 +42,3 @@
def open(self, credentials):
self.authenticate(credentials)
return self.fs
-
-
=== Zope3/src/zope/server/ftp/xmitchannel.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/ftp/xmitchannel.py:1.1.2.1 Mon Dec 23 14:33:19 2002
+++ Zope3/src/zope/server/ftp/xmitchannel.py Tue Dec 24 21:21:19 2002
@@ -90,4 +90,3 @@
self.write = xmit_channel.write
self.flush = xmit_channel.flush
self.close = xmit_channel.close_when_done
-