[Zope3-checkins] CVS: Zope3/src/zope/server/ftp - publisher.py:1.4

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Feb 16 16:35:16 EST 2004


Update of /cvs-repository/Zope3/src/zope/server/ftp
In directory cvs.zope.org:/tmp/cvs-serv5858/src/zope/server/ftp

Modified Files:
	publisher.py 
Log Message:
Updated doc strings. Added documentation where necessary.


=== Zope3/src/zope/server/ftp/publisher.py 1.3 => 1.4 ===
--- Zope3/src/zope/server/ftp/publisher.py:1.3	Fri Jun  6 15:29:11 2003
+++ Zope3/src/zope/server/ftp/publisher.py	Mon Feb 16 16:34:38 2004
@@ -11,11 +11,12 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""
+"""Zope Publisher-based FTP Server
+
+This FTP server uses the Zope 3 Publisher to execute commands.
 
 $Id$
 """
-
 import posixpath
 
 from cStringIO import StringIO
@@ -29,8 +30,7 @@
 from zope.interface import implements
 
 class PublisherFileSystem:
-    """Generic Publisher FileSystem implementation.
-    """
+    """Generic Publisher FileSystem implementation."""
 
     implements(IFileSystem)
 
@@ -122,6 +122,7 @@
             path = '/'
         return path
 
+
 class NoOutput:
     """An output stream lookalike that warns you if you try to
     dump anything into it."""
@@ -133,6 +134,7 @@
         pass
 
     close = flush
+
 
 class PublisherFTPServer(FTPServer):
     """Generic FTP Server"""




More information about the Zope3-Checkins mailing list