diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-02 16:32:56 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-02 16:32:56 (GMT) |
commit | f6bf5049d4f7eb219c548013baf4f4a1dc8f5b09 (patch) | |
tree | 16ddf0af3527dac1fc117b399e15a540869c42e5 /devbot | |
parent | 26b010f917c7237f73bf0fe578290b6bff3c375d (diff) |
Add sugar-html-activity
Diffstat (limited to 'devbot')
-rw-r--r-- | devbot/build.py | 6 | ||||
-rw-r--r-- | devbot/config.py | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/devbot/build.py b/devbot/build.py index c01f373..694c478 100644 --- a/devbot/build.py +++ b/devbot/build.py @@ -228,10 +228,8 @@ def _build_module(module, log=None): try: build_system = module.get_build_system() - if build_system is None: - return False - - _builders[build_system](module, log) + if build_system is not None: + _builders[build_system](module, log) except subprocess.CalledProcessError: return False diff --git a/devbot/config.py b/devbot/config.py index 197492d..3f65417 100644 --- a/devbot/config.py +++ b/devbot/config.py @@ -59,10 +59,8 @@ class Module: return "autotools" elif os.path.exists(os.path.join(source_dir, "package.json")): return "node" - else: - print("The source directory has unexpected content, please " - "delete it and pull\nthe source again.") - return None + + return None def setup(**kwargs): |