[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/FTP - FTPServer.py:1.1.2.8
Shane Hathaway
shane@cvs.zope.org
Fri, 5 Apr 2002 17:54:38 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Server/FTP
In directory cvs.zope.org:/tmp/cvs-serv23383
Modified Files:
Tag: Zope3-Server-Branch
FTPServer.py
Log Message:
No need for the statistics counters for now.
=== Zope3/lib/python/Zope/Server/FTP/FTPServer.py 1.1.2.7 => 1.1.2.8 ===
from FTPServerChannel import FTPServerChannel
from Zope.Server.ServerBase import ServerBase
-from Zope.Server.Counter import Counter
from Zope.Server.VFS.UnixFileSystem import UnixFileSystem
from Zope.Server.Authentication.DictionaryAuthentication import \
@@ -42,13 +41,13 @@
verbose, socket_map)
# statistics
- self.total_sessions = Counter()
- self.closed_sessions = Counter()
- self.total_files_out = Counter()
- self.total_files_in = Counter()
- self.total_bytes_out = Counter()
- self.total_bytes_in = Counter()
- self.total_exceptions = Counter()
+## self.total_sessions = 0
+## self.closed_sessions = 0
+## self.total_files_out = 0
+## self.total_files_in = 0
+## self.total_bytes_out = 0
+## self.total_bytes_in = 0
+## self.total_exceptions = 0
if __name__ == '__main__':