Skip to content

Commit

Permalink
Merge pull request #475 from yast/subscription-tools-not-found
Browse files Browse the repository at this point in the history
Do not crash if subscription-tools.rpm is missing.
  • Loading branch information
mvidner committed Jun 9, 2016
2 parents 0679991 + 0b8ce51 commit 395fbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/control/src/modules/ProductProfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def CheckCompliance(productId)
# YaPI::SubscriptionTools are only available for SLES
Yast.import "YaPI::SubscriptionTools"
rescue NameError
y2milestone("subscription-tools package not present: no compliance checking")
Builtins.y2milestone("subscription-tools package not present: no compliance checking")
return true
end

Expand Down

0 comments on commit 395fbcd

Please sign in to comment.