Skip to content

Commit

Permalink
[api] srcmd5 should probably not be a class variable but an instance …
Browse files Browse the repository at this point in the history
…variable
  • Loading branch information
bugfinder committed Sep 16, 2013
1 parent c2c8062 commit caf642f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/app/models/package_build_status.rb
Expand Up @@ -108,7 +108,7 @@ def gather_current_buildcode(srep, arch)
end
# if it's currently succeeded but !@everbuilt, it's different sources
if currentcode == 'succeeded'
if @@srcmd5 == @csrcmd5
if @srcmd5 == @csrcmd5
@buildcode='building' # guesssing

This comment has been minimized.

Copy link
@coolo

coolo Sep 16, 2013

Member

yeah, never trust an editor :)

else
@buildcode='outdated'
Expand Down Expand Up @@ -185,4 +185,4 @@ def gather_md5sums
view: :info)
@verifymd5 = cdir['@verifymd5']
end
end
end

0 comments on commit caf642f

Please sign in to comment.