Fix sync error for the private_git_dir,commit 33/177633/1
authorYonghee Han <onstudy@samsung.com>
Wed, 2 May 2018 08:52:31 +0000 (17:52 +0900)
committerYonghee Han <onstudy@samsung.com>
Wed, 2 May 2018 08:52:31 +0000 (17:52 +0900)
Sync for the tizen4.0/product

Change-Id: Ie1007e13758d6cc4e46234e02d8bbe6fd23326cb

job_git_sync_downstream.py

index 4af916c..e7551b2 100644 (file)
@@ -138,8 +138,7 @@ def parse_pkg_info_xml(tmpdir, pkg_info_url, user=None, password=None):
                 commit=commit_id.text
 
             if project and commit:
-                if ('product/wearable/fork/' in project) or \
-                   ('product/wearable/' in project):
+                if ('tizen4.0/product/' in project):
                     pkginfo_list[project] = commit
 
     return pkginfo_list
@@ -220,6 +219,8 @@ def main():
     pkg_info_list = parse_pkg_info_xml(tmpdir, pkg_info_url)
     print pkg_info_list
 
+    private_git_dir = ''
+    commit = revision = ''
     # Compare package list
     for project in pkg_sync_list:
         try: