Fix fork git check routine 37/144337/1
authorhyokeun <hyokeun.jeon@samsung.com>
Wed, 16 Aug 2017 08:56:52 +0000 (17:56 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Wed, 16 Aug 2017 08:57:02 +0000 (17:57 +0900)
Change-Id: I6fea33de036117141655596121df338ee2ad293c

job_submit_request_sync.py

index 4550e44..0545a14 100644 (file)
@@ -183,12 +183,12 @@ def main():
                 _sr_tag = sr.keys()[0]
                 _sr_list = {_sr_tag: []}
                 for repo in sr[_sr_tag]:
-                    bSetHighlight = False
+                    bSetHighlight = True
                     for item in mapping:
                         # We only care about defined git repositories
                         if item.get('OBS_project', '') == target['target'] and \
                             item.get('Project_name', '') == target_fork_prefix + repo:
-                            bSetHighlight = True
+                            bSetHighlight = False
                     if bSetHighlight:
                         marked_repo = HIGHLIGHT + repo
                     else: