summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-01 19:04:04 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:55 +0200
commitb7b2dbed83157c545f5395143056177b275cb41a (patch)
tree44d13623d9b532b7e702aa25312358baf0a50016
parentd9f1378c02972772e9a8d67bb5c9bcb50033c5f7 (diff)
downloadnbb-b7b2dbed83157c545f5395143056177b275cb41a.tar.gz
nbb-b7b2dbed83157c545f5395143056177b275cb41a.tar.xz
nbb-b7b2dbed83157c545f5395143056177b275cb41a.zip
Fix detect() method return for BS and VCS plugins
-rw-r--r--src/nbblib/bs.py2
-rw-r--r--src/nbblib/vcs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nbblib/bs.py b/src/nbblib/bs.py
index 02b2800..f8f247c 100644
--- a/src/nbblib/bs.py
+++ b/src/nbblib/bs.py
@@ -51,7 +51,7 @@ class BSSourceTree(plugins.GenericDetectPlugin):
@param vcs_tree the vcs.VCSourceTree object to examine
"""
- super(BSSourceTree, cls).detect(context, vcs_tree)
+ return super(BSSourceTree, cls).detect(context, vcs_tree)
def get_tree_root(self): return self._get_tree_root()
diff --git a/src/nbblib/vcs.py b/src/nbblib/vcs.py
index 61c2531..1a0ad22 100644
--- a/src/nbblib/vcs.py
+++ b/src/nbblib/vcs.py
@@ -88,7 +88,7 @@ class VCSourceTree(plugins.GenericDetectPlugin):
@param srcdir string with absolute path of source code directory
"""
- super(VCSourceTree, cls).detect(context, srcdir)
+ return super(VCSourceTree, cls).detect(context, srcdir)
def get_config(self):
"""Get configuration object which determines builddir etc"""