DIBS: Fixed package sync bug 22/16022/1
authorjonghwan2.park <jonghwan2.park@samsung.com>
Wed, 5 Feb 2014 07:02:16 +0000 (16:02 +0900)
committerjonghwan2.park <jonghwan2.park@samsung.com>
Wed, 5 Feb 2014 07:02:16 +0000 (16:02 +0900)
Change-Id: I1d3727f98f9edcedb4c7ce596f019f5d213d9c96
Signed-off-by: jonghwan2.park <jonghwan2.park@samsung.com>
src/build_server/PackageSync.rb

index d170364..525753c 100644 (file)
@@ -169,6 +169,7 @@ class PackageSyncAction < Action
                                # get pkg version in server
                                main_ver = @main_client.get_attr_from_pkg(pkg_name, os, "version")
                                remote_pkg = @pkgsvr_client.get_pkg_from_list(pkg_name, os)
+                if remote_pkg.nil? then next end
                                remote_ver = remote_pkg.version
                                if remote_ver.nil? then next end