Skip to contentSkip to conversation

lib/bb/utils.py: Add missing debug level

PATCH New Mark Hatle 1 participant 2 messages Jul 26, 2017

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/2 lib/bb/utils.py: Add missing debug level

---
 lib/bb/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bb/utils.py +2 -2
index 6a44db5..8550af3 100644
@@ -1502,7 +1502,7 @@ def export_proxies(d):
 
 def load_plugins(logger, plugins, pluginpath):
     def load_plugin(name):
-        logger.debug('Loading plugin %s' % name)
+        logger.debug(1, 'Loading plugin %s' % name)
         fp, pathname, description = imp.find_module(name, [pluginpath])
         try:
             return imp.load_module(name, fp, pathname, description)
@@ -1510,7 +1510,7 @@ def load_plugins(logger, plugins, pluginpath):
             if fp:
                 fp.close()
 
-    logger.debug('Loading plugins from %s...' % pluginpath)
+    logger.debug(1, 'Loading plugins from %s...' % pluginpath)
 
     expanded = (glob.glob(os.path.join(pluginpath, '*' + ext))
                 for ext in python_extensions)
Signature · 1 line
1.8.3.1
author
#1 lore raw

PATCH 2/2 lib/fetch2/__init__.py: Fix unpack comment

---
 lib/bb/fetch2/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/__init__.py +1 -1
index a78279c..bd23533 100644
@@ -1738,7 +1738,7 @@ class Fetch(object):
 
     def unpack(self, root, urls=None):
         """
-        Check all urls exist upstream
+        Unpack urls to root
         """
 
         if not urls:
Signature · 1 line
1.8.3.1