Fix type error
authorhyokeun <hyokeun.jeon@samsung.com>
Mon, 21 Aug 2017 08:42:48 +0000 (17:42 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Mon, 21 Aug 2017 08:42:48 +0000 (17:42 +0900)
Change-Id: I5597eaf2b35c414b3f97546398ca281849e56654

common/workflow.py

index 7af1039..01c3c99 100644 (file)
@@ -582,7 +582,7 @@ def get_obs_package_name(git, branch, target_project, tag, gerrit_env=None):
             continue
 
         if obs_use_specname == 'yes':
-            resp = find_specfile(prjdir, packagingdir, tag, git, None)
+            resp = find_specfile(prjdir, packagingdir, tag, {'project': git}, None)
             if not resp['spec']:
                 return None
             resp = parse_specfile(resp['spec'], tag, git, None)