From a40285518711aefd89691d4fbc3a7166b0462851 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Sat, 21 Feb 2015 14:56:45 +0100 Subject: meaningful variable name --- py3status/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/py3status/__init__.py b/py3status/__init__.py index 3e044f9..d98b83d 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -412,13 +412,13 @@ class I3status(Thread): the user in his i3status.conf. """ ordered = [] - for module in self.config['order']: - if module in py3_modules: - for method in py3_modules[module].methods.values(): + for module_name in self.config['order']: + if module_name in py3_modules: + for method in py3_modules[module_name].methods.values(): ordered.append(method['last_output']) else: - if self.config.get(module, {}).get('response'): - ordered.append(self.config[module]['response']) + if self.config.get(module_name, {}).get('response'): + ordered.append(self.config[module_name]['response']) return ordered @staticmethod -- cgit v1.3