Second-level sort for repa according to OBS project
authorhyokeun <hyokeun.jeon@samsung.com>
Thu, 21 Jun 2018 04:51:18 +0000 (13:51 +0900)
committerYonghee Han <onstudy@samsung.com>
Thu, 31 Jan 2019 01:21:23 +0000 (10:21 +0900)
Change-Id: I1c6f1581bd49a52cff9fda660b5f3e3ede63f48f

job_repa.py

index a63eea4..8c14183 100644 (file)
@@ -213,6 +213,7 @@ if __name__ == '__main__':
         for x in item_list:
             x['no'] = '{:03d}'.format(int(x['no']))
         new_list = sorted(item_list, key=lambda k: k['no'])
+        new_list = sorted(new_list, key=lambda k: k['obs_project'])
         for x in new_list:
             no            = x.get('no')
             repa_decision = x.get('repa_decision_jenkins')