Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot
diff options
context:
space:
mode:
Diffstat (limited to 'devbot')
-rw-r--r--devbot/build.py6
-rw-r--r--devbot/config.py6
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):