[Nym3-commit] r453 - trunk/nymbaron

laurent at conuropsis.org laurent at conuropsis.org
Mon Feb 27 19:06:17 CET 2006


Author: laurent
Date: 2006-02-27 19:06:16 +0100 (Mon, 27 Feb 2006)
New Revision: 453

Modified:
   trunk/nymbaron/Mail.py
Log:
Fix bug introduced in r449 by wrong call to str.strip.


Modified: trunk/nymbaron/Mail.py
===================================================================
--- trunk/nymbaron/Mail.py	2006-02-27 17:34:12 UTC (rev 452)
+++ trunk/nymbaron/Mail.py	2006-02-27 18:06:16 UTC (rev 453)
@@ -192,8 +192,7 @@
     """Converts a mid in a file name"""
     res = base64.encodestring(mid)
     res = res.replace('/', '_')
-    res = res.strip(res)
-    return res
+    return res.strip()
 
 def filename2mid(mid):
     """Converts a file name in a mid"""



More information about the Nym3-commit mailing list