[Zope3-checkins] SVN: Zope3/trunk/src/zope/server/ Converted XXX to TODO.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jul 13 13:00:36 EDT 2004


Log message for revision 26478:
  Converted XXX to TODO.
  


Changed:
  U   Zope3/trunk/src/zope/server/ftp/server.py
  U   Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py
  U   Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py
  U   Zope3/trunk/src/zope/server/logger/sysloglogger.py
  U   Zope3/trunk/src/zope/server/maxsockets.py
  U   Zope3/trunk/src/zope/server/trigger.py


-=-
Modified: Zope3/trunk/src/zope/server/ftp/server.py
===================================================================
--- Zope3/trunk/src/zope/server/ftp/server.py	2004-07-13 17:00:04 UTC (rev 26477)
+++ Zope3/trunk/src/zope/server/ftp/server.py	2004-07-13 17:00:36 UTC (rev 26478)
@@ -359,7 +359,7 @@
         port = int(info[4])*256 + int(info[5])
         # how many data connections at a time?
         # I'm assuming one for now...
-        # XXX: we should (optionally) verify that the
+        # TODO: we should (optionally) verify that the
         # ip number belongs to the client.  [wu-ftpd does this?]
         self.client_addr = (ip, port)
         self.reply('SUCCESS_200', 'PORT')

Modified: Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py
===================================================================
--- Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py	2004-07-13 17:00:04 UTC (rev 26477)
+++ Zope3/trunk/src/zope/server/http/tests/test_commonaccesslogger.py	2004-07-13 17:00:36 UTC (rev 26478)
@@ -34,10 +34,10 @@
         self.assert_(logger.output.logger.name, 'accesslog')
         self.assert_(logger.output.logger.level, logging.INFO)
 
-    # XXX please add unit tests for other methods as well:
-    #     compute_timezone_for_log
-    #     log_date_string
-    #     log
+    # TODO: please add unit tests for other methods as well:
+    #       compute_timezone_for_log
+    #       log_date_string
+    #       log
 
 
 def test_suite():

Modified: Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py
===================================================================
--- Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py	2004-07-13 17:00:04 UTC (rev 26477)
+++ Zope3/trunk/src/zope/server/linereceiver/lineserverchannel.py	2004-07-13 17:00:36 UTC (rev 26478)
@@ -100,7 +100,7 @@
         if flush:
             self.flush(0)
 
-        # XXX: Some logging should go on here.
+        # TODO: Some logging should go on here.
 
 
     def exception(self):

Modified: Zope3/trunk/src/zope/server/logger/sysloglogger.py
===================================================================
--- Zope3/trunk/src/zope/server/logger/sysloglogger.py	2004-07-13 17:00:04 UTC (rev 26477)
+++ Zope3/trunk/src/zope/server/logger/sysloglogger.py	2004-07-13 17:00:36 UTC (rev 26478)
@@ -28,10 +28,10 @@
        appropriate for FTP or HTTP logs, but not for dumping stderr
        to.
 
-       XXX: a simple safety wrapper that will ensure that the line
+       TODO: a simple safety wrapper that will ensure that the line
        sent to syslog is reasonable.
 
-       XXX: async version of syslog_client: now, log entries use
+       TODO: async version of syslog_client: now, log entries use
        blocking send()
     """
 

Modified: Zope3/trunk/src/zope/server/maxsockets.py
===================================================================
--- Zope3/trunk/src/zope/server/maxsockets.py	2004-07-13 17:00:04 UTC (rev 26477)
+++ Zope3/trunk/src/zope/server/maxsockets.py	2004-07-13 17:00:36 UTC (rev 26478)
@@ -10,7 +10,7 @@
 # 4) max we can connect
 
 def max_server_sockets():
-    # XXX This should be a configuration value as it takes a long time to
+    # TODO: This should be a configuration value as it takes a long time to
     # compute on Mac OSX
     return 100
     sl = []
@@ -29,7 +29,7 @@
     return num
 
 def max_client_sockets():
-    # XXX This should be a configuration value as it takes a long time to
+    # TODO: This should be a configuration value as it takes a long time to
     # compute on Mac OSX
     return 100
     # make a server socket
@@ -53,7 +53,7 @@
     return num
 
 def max_select_sockets():
-    # XXX This should be a configuration value as it takes a long time to
+    # TODO: This should be a configuration value as it takes a long time to
     # compute on Mac OSX
     return 100
     sl = []

Modified: Zope3/trunk/src/zope/server/trigger.py
===================================================================
--- Zope3/trunk/src/zope/server/trigger.py	2004-07-13 17:00:04 UTC (rev 26477)
+++ Zope3/trunk/src/zope/server/trigger.py	2004-07-13 17:00:36 UTC (rev 26478)
@@ -117,7 +117,7 @@
 
 else:
 
-    # XXX Should define a base class that has the common methods and
+    # TODO: Should define a base class that has the common methods and
     # then put the platform-specific in a subclass named trigger.
 
     # win32-safe version



More information about the Zope3-Checkins mailing list