diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-23 13:32:59 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-23 13:32:59 (GMT) |
commit | 9e9ef41f46a61539929dce1455fcfaf1a8ecc89a (patch) | |
tree | b858c482a853f6a01a6ff83944f536cede650944 /devbot/autoinstall.py | |
parent | f3f2936331ce7e27c4e4c3326513d542a0c94be3 (diff) |
Refactoring leftovers
Diffstat (limited to 'devbot/autoinstall.py')
-rwxr-xr-x | devbot/autoinstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devbot/autoinstall.py b/devbot/autoinstall.py index 0b9fac4..9e1fda0 100755 --- a/devbot/autoinstall.py +++ b/devbot/autoinstall.py @@ -37,8 +37,8 @@ def changed_cb(monitor, file, other_file, event_flags, module): def observe(): for module in config.load_modules(): - if module.get("autoinstall", False): - print "Observing the %s module" % module["name"] + if module.auto_install: + print "Observing the %s module" % module.name source_dir = module.get_source_dir() for root, dirs, files in os.walk(source_dir): |