summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-01-21 10:56:27 +0100
committerUltrabug <ultrabug@gentoo.org>2015-01-21 10:56:27 +0100
commitda77486cb5c2fc1de6a22dad15168a8a22db4cb2 (patch)
tree500784c9d93003eda24d738e0f37cd3bc82dc46a
parent0d116f0d4df68d4a29f609c1ae13e2ed2ecf0cfa (diff)
update get_user_modules docstring
-rwxr-xr-xpy3status/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index d3d7cde..b42e38b 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -1109,14 +1109,14 @@ class Py3statusWrapper():
def get_user_modules(self):
"""
- Search import directories and files through given include paths with
+ Search import directories and files through include paths with
respect to i3status.conf configured py3status modules.
- User provided modules take precedence over py3status generic modules
- but if none has been configured then we'll load every file present
- as this is the legacy behavior.
+ User provided modules take precedence over py3status generic modules.
- This method is a generator and loves to yield.
+ If no module has been requested from i3status.conf, we'll load
+ every module present in the include paths
+ as this is the legacy behavior.
"""
user_modules = dict()
for include_path in sorted(self.config['include_paths']):