[Title] Fixed to use "not(...)" instead of "!="
authordonghee yang <donghee.yang@samsung.com>
Fri, 19 Oct 2012 07:04:22 +0000 (16:04 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Fri, 19 Oct 2012 07:04:22 +0000 (16:04 +0900)
src/build_server/BuildJob.rb

index 84805722b0f079e7e9e3ad36a3896d3ac1e072df..9a33bea46f34c838a440a3f460aa32a1bb2ba29e 100644 (file)
@@ -300,7 +300,7 @@ class BuildJob < CommonJob
 
                # check version
                if @pkginfo.nil? or o.pkginfo.nil? or
-                       Version.new(@pkginfo.get_version()) != Version.new(o.pkginfo.get_version()) then
+                       not(Version.new(@pkginfo.get_version()) == Version.new(o.pkginfo.get_version())) then
                        return false
                end