[Nym3-commit] r495 - trunk/nymbaron/Server

zax at conuropsis.org zax at conuropsis.org
Mon Mar 20 17:35:35 CET 2006


Author: zax
Date: 2006-03-20 17:35:34 +0100 (Mon, 20 Mar 2006)
New Revision: 495

Modified:
   trunk/nymbaron/Server/Main.py
Log:
I must not lie in Docstrings.  0 is not False!


Modified: trunk/nymbaron/Server/Main.py
===================================================================
--- trunk/nymbaron/Server/Main.py	2006-03-20 16:29:03 UTC (rev 494)
+++ trunk/nymbaron/Server/Main.py	2006-03-20 16:35:34 UTC (rev 495)
@@ -133,7 +133,7 @@
 def isMsgBase64(msg):
     """ Base64 payload should consist of nothing but text and newline
     characters.  Check for this and return the payload if it matches.
-    Otherwise, return False"""
+    Otherwise, return 0"""
     m = re.search('binary\n\n([\S\n]+)\n-{5}END', msg, re.S)
     if m:
         return m.group(1)



More information about the Nym3-commit mailing list