[Checkins] SVN: z3c.extfile/trunk/src/z3c/extfile/filter.py handle None digest in info

Bernd Dorn bernd.dorn at lovelysystems.com
Mon Jan 21 04:43:38 EST 2008


Log message for revision 83046:
  handle None digest in info

Changed:
  U   z3c.extfile/trunk/src/z3c/extfile/filter.py

-=-
Modified: z3c.extfile/trunk/src/z3c/extfile/filter.py
===================================================================
--- z3c.extfile/trunk/src/z3c/extfile/filter.py	2008-01-21 09:10:55 UTC (rev 83045)
+++ z3c.extfile/trunk/src/z3c/extfile/filter.py	2008-01-21 09:43:38 UTC (rev 83046)
@@ -64,7 +64,7 @@
         digest, contentType, contentLength = parts[1:]
     else:
         digest = None
-    if len(digest)!=40:
+    if digest and len(digest)!=40:
         digest = None
     if contentLength is not None:
         try:



More information about the Checkins mailing list