[tor-commits] [nyx/master] Warning about unused config keys caused stacktrace

atagar at torproject.org atagar at torproject.org
Tue Aug 8 15:48:27 UTC 2017


commit e3c362f603c96f3d271329e2d016e6f022e0863e
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Aug 8 08:48:30 2017 -0700

    Warning about unused config keys caused stacktrace
    
    Oops! Bug caught by Christoph.
---
 nyx/starter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nyx/starter.py b/nyx/starter.py
index d97aaf2..48885a6 100644
--- a/nyx/starter.py
+++ b/nyx/starter.py
@@ -212,7 +212,7 @@ def _warn_about_unused_config_keys(config):
 
   for key in sorted(config.unused_keys()):
     if not key.startswith('msg.') and not key.startswith('dedup.'):
-      log.notice('Unused configuration entry: %s' % key)
+      stem.util.log.notice('Unused configuration entry: %s' % key)
 
 
 @uses_settings



More information about the tor-commits mailing list