Merlijn van Deen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/359306 )

Change subject: Use pretty-formatting for dumping channel config
......................................................................

Use pretty-formatting for dumping channel config

Change-Id: Iba8afc34b518207dfc024c59174516c75787d901
---
M channelfilter.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/wikibugs2 
refs/changes/06/359306/1

diff --git a/channelfilter.py b/channelfilter.py
index 60042d1..ce1ff7a 100644
--- a/channelfilter.py
+++ b/channelfilter.py
@@ -7,6 +7,7 @@
 import re
 import collections
 import logging
+import pprint
 
 logger = logging.getLogger('wikibugs2.channelfilter')
 
@@ -28,7 +29,7 @@
         self.parse_regexps()
         self.time = time.time()
         self.mtime = os.path.getmtime(self.path)
-        logger.info(self.config)
+        logger.info(pprint.pformat(self.config))
 
     def parse_regexps(self):
         chan_proj_map = self.config['channels']

-- 
To view, visit https://gerrit.wikimedia.org/r/359306
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba8afc34b518207dfc024c59174516c75787d901
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/wikibugs2
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to