summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-27 00:02:49 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:53 +0200
commit1a88e6910815f0bc7aff3cf2ee00b1877df7524c (patch)
treea8c739a3523948c990e53559b40e4dccff0bd3be /src
parent4a9d8a17e04adfe050f3c66a802c0e73937f6a5d (diff)
downloadnbb-1a88e6910815f0bc7aff3cf2ee00b1877df7524c.tar.gz
nbb-1a88e6910815f0bc7aff3cf2ee00b1877df7524c.tar.xz
nbb-1a88e6910815f0bc7aff3cf2ee00b1877df7524c.zip
Improve log messages
Diffstat (limited to 'src')
-rw-r--r--src/nbblib/newplugins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nbblib/newplugins.py b/src/nbblib/newplugins.py
index ee59a48..bc8f1f2 100644
--- a/src/nbblib/newplugins.py
+++ b/src/nbblib/newplugins.py
@@ -118,7 +118,7 @@ class PluginDict(dict):
class GenericPluginMeta(type):
def __init__(cls, name, bases, attrs):
- logging.debug("%s %s %s %s", cls, name, bases, attrs)
+ logging.debug("META_INIT %s %s %s %s", cls, name, bases, attrs)
if not hasattr(cls, 'plugins'):
# This branch only executes when processing the mount point itself.
# So, since this is a new plugin type, not an implementation, this
@@ -129,7 +129,7 @@ class GenericPluginMeta(type):
# This must be a plugin implementation, which should be registered.
# Simply appending it to the list is all that's needed to keep
# track of it later.
- logging.debug("%s %s", cls, cls.plugins)
+ logging.debug("Registering %s together with %s", cls, cls.plugins)
cls.plugins[cls.name] = cls
else:
# This must be an abstract subclass of plugins.