commit:     6a0e507ef6b2071c0abdc8068b6fd34141978d87
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 18:48:48 2015 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 18:48:48 2015 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=6a0e507e

return qatracker from repoman_scan

 pym/tbc/repoman/main.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/pym/tbc/repoman/main.py b/pym/tbc/repoman/main.py
index 1a276c3..10d508b 100644
--- a/pym/tbc/repoman/main.py
+++ b/pym/tbc/repoman/main.py
@@ -221,8 +221,6 @@ def repoman_scan(repoman_settings, repo_settings, 
vcs_settings, portdb, options,
 
        ####################
 
-       dev_keywords = dev_keywords(profiles)
-
        qatracker = QATracker()
 
        if options.mode == "manifest":
@@ -733,8 +731,9 @@ def repoman_scan(repoman_settings, repo_settings, 
vcs_settings, portdb, options,
                                                matchmode = "minimum-visible"
 
                                        if not have_dev_keywords:
+                                               dev_keyword = 
dev_keywords(profiles)
                                                have_dev_keywords = \
-                                                       
bool(dev_keywords.intersection(keywords))
+                                                       
bool(dev_keyword.intersection(keywords))
 
                                        if prof.status == "dev":
                                                suffix = suffix + "indev"
@@ -834,7 +833,7 @@ def repoman_scan(repoman_settings, repo_settings, 
vcs_settings, portdb, options,
                                "Note: use --include-dev (-d) to check "
                                "dependencies for 'dev' profiles"))
                print()
-
+       return qatracker
 def repoman_main(argv):
 
        config_root = os.environ.get("PORTAGE_CONFIGROOT")

Reply via email to