diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-02-21 14:56:45 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-02-21 14:56:45 +0100 |
| commit | a40285518711aefd89691d4fbc3a7166b0462851 (patch) | |
| tree | e9e7a5a9e186c89f95a02cd34d9df8a622af9f49 | |
| parent | 267065406757cb3632da2f875be11b0771523f00 (diff) | |
meaningful variable name
| -rwxr-xr-x | py3status/__init__.py | 10 |
1 files 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 |
