[Checkins] SVN: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/utils.py Removed unneeded double logging.getLogger calls.

Maurits van Rees m.van.rees at zestsoftware.nl
Thu Jan 15 15:02:18 EST 2009


Log message for revision 94764:
  Removed unneeded double logging.getLogger calls.

Changed:
  U   z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/utils.py

-=-
Modified: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/utils.py
===================================================================
--- z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/utils.py	2009-01-15 20:01:30 UTC (rev 94763)
+++ z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/utils.py	2009-01-15 20:02:18 UTC (rev 94764)
@@ -26,7 +26,6 @@
     """
     from zc.buildout.easy_install import install
     from zc.buildout.easy_install import MissingDistribution
-    log = logging.getLogger('eggbasket.utils')
 
     if use_empty_index:
         # When the temp dir is not writable this throws an OSError,
@@ -66,7 +65,6 @@
 
 
 def create_source_tarball(egg=None, versionfile='buildout.cfg'):
-    log = logging.getLogger('eggbasket.utils')
     if egg is None:
         # XXX Having a way to read the setup.py in the current
         # directory and get an egg name and perhaps version number
@@ -154,7 +152,6 @@
 
 
 def get_windows_egg(package, version, target_dir):
-    log = logging.getLogger('eggbasket.utils')
     base_url = 'http://pypi.python.org/simple/'
     package_page = base_url + package
     try:



More information about the Checkins mailing list