From 2b9383221ebfc1c7c74fad118db332fbb17fcf98 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Wed, 11 Feb 2015 14:53:15 +0100 Subject: remove legacy module ordering spammy debug logs --- py3status/__init__.py | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'py3status/__init__.py') diff --git a/py3status/__init__.py b/py3status/__init__.py index b2cf758..c90463f 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -1409,13 +1409,6 @@ class Py3statusWrapper(): ) ] - # debug the ordering matrix - if self.config['debug']: - syslog( - LOG_INFO, - 'ordering matrix {}'.format(list(range(len(m_list)))) - ) - # run through modules/methods output and insert them in reverse order debug_msg = '' for m in reversed(list(self.modules.values())): @@ -1441,13 +1434,6 @@ class Py3statusWrapper(): m_list.index(last_output) ) - # debug the user modules ordering - if self.config['debug']: - syslog( - LOG_INFO, - 'ordering user modules positions {}'.format(debug_msg.strip()) - ) - # append i3status json list to the modules' list in empty slots debug_msg = '' for i3s_json in json_list: @@ -1466,15 +1452,6 @@ class Py3statusWrapper(): m_list.index(i3s_json) ) - # debug i3status modules ordering - if self.config['debug']: - syslog( - LOG_INFO, - 'ordering i3status modules positions {}'.format( - debug_msg.strip() - ) - ) - # cleanup and return output list, we also remove empty outputs m_list = list(filter(lambda a: a != '' and a['full_text'], m_list)) -- cgit v1.3