[Checkins] SVN: zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py avoid creating a useless tuple

Fred L. Drake, Jr. fdrake at gmail.com
Tue Aug 7 01:35:35 EDT 2007


Log message for revision 78653:
  avoid creating a useless tuple

Changed:
  U   zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py

-=-
Modified: zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py
===================================================================
--- zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py	2007-08-07 04:00:34 UTC (rev 78652)
+++ zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py	2007-08-07 05:35:34 UTC (rev 78653)
@@ -105,7 +105,7 @@
     filename = urlpath.split('/')[-1]
 
     # get the file from the right place
-    fname, tmp2 = None, None
+    fname = tmp2 = None
     if download_cache:
         # if we have a cache, try and use it
         logging.getLogger(name).debug(



More information about the Checkins mailing list