Module: deluge
Branch: master
Commit: b7bc1fdb1d5d7f51559f9d0ce171af054ca4f411

Author: Pedro Algarvio <[email protected]>
Date:   Mon Dec  6 11:45:17 2010 +0000

`configmanager` needs to be imported at a latter stage at least for the gtk 
frontend.

---

 deluge/log.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/deluge/log.py b/deluge/log.py
index a0a4e1d..9ca094c 100644
--- a/deluge/log.py
+++ b/deluge/log.py
@@ -40,7 +40,7 @@ import os
 import logging
 import inspect
 import pkg_resources
-from deluge import configmanager, common, component
+from deluge import common, component
 from twisted.internet import defer
 from twisted.python.log import PythonLoggingObserver
 
@@ -191,6 +191,7 @@ def tweak_logging_levels():
     Remember, one rule per line and this WILL override the setting passed from
     the command line.
     """
+    from deluge import configmanager
     logging_config_file = os.path.join(configmanager.get_config_dir(),
                                        'logging.conf')
     if not os.path.isfile(logging_config_file):

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to