diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2014-04-14 19:42:12 +0200 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2014-04-14 19:42:12 +0200 |
| commit | 212086f68343f9807ab9928439cb0a3798fb3a8d (patch) | |
| tree | b7eefbcc180498a544eed8e2f8f6cbb6ed2c2d8e /py3status | |
| parent | 2c3396ec56d2b1915904995d9128b454615d5a41 (diff) | |
debug: add position requested by modules
Diffstat (limited to 'py3status')
| -rwxr-xr-x | py3status/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index 4bad6bd..4f7f391 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -549,7 +549,8 @@ class Module(Thread): if self.config['debug']: syslog( LOG_INFO, - 'method {} returned {}'.format(meth, result) + 'method {} returned {} '.format(meth, result) + + 'for position {}'.format(position) ) except Exception: err = sys.exc_info()[1] |
