summaryrefslogtreecommitdiffstats
path: root/src/nbblib/bs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/nbblib/bs.py')
-rw-r--r--src/nbblib/bs.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nbblib/bs.py b/src/nbblib/bs.py
index 5b7b19b..43c3f44 100644
--- a/src/nbblib/bs.py
+++ b/src/nbblib/bs.py
@@ -45,6 +45,14 @@ class BSSourceTree(plugins.GenericDetectPlugin):
repr(obj.tree_root), repr(vcs_tree.tree_root))
return obj.tree_root == vcs_tree.tree_root
+ @classmethod
+ def detect(cls, context, vcs_tree):
+ """Examine vcs_tree for build system has and return BSSourceTree obj
+
+ @param vcs_tree the vcs.VCSourceTree object to examine
+ """
+ super(BSSourceTree, cls).detect(context, vcs_tree)
+
def get_tree_root(self): return self._get_tree_root()
tree_root = property(get_tree_root)