Branch: refs/heads/subscription-tools-not-found Home: https://github.com/yast/yast-yast2 Commit: 0b8ce51cd6dd4b7d0a86436d70c573b7c013b0dc https://github.com/yast/yast-yast2/commit/0b8ce51cd6dd4b7d0a86436d70c573b7c0... Author: Martin Vidner <mvidner@suse.cz> Date: 2016-06-09 (Thu, 09 Jun 2016) Changed paths: M library/control/src/modules/ProductProfile.rb Log Message: ----------- Do not crash if subscription-tools.rpm is missing. BTW the package lives in https://build.opensuse.org/package/show/SUSE:SLE-12:GA/subscription-tools This is the first real bug I've found with ruby-lint, after thousands of false positives!! I was looking why it was not seeing the Pkg namespace as it should, and noticed a real problem in the last line: $ ruby-lint -p text library/control/src/modules/ProductProfile.rb ProductProfile.rb: error: line 52, column 18: undefined constant Pkg ProductProfile.rb: error: line 64, column 17: undefined constant Pkg ProductProfile.rb: error: line 81, column 33: undefined method tmpdir on an instance of DirectoryClass ProductProfile.rb: error: line 86, column 24: undefined constant Pkg ProductProfile.rb: error: line 95, column 19: undefined constant Pkg ProductProfile.rb: error: line 138, column 21: undefined constant YaPI ProductProfile.rb: error: line 138, column 21: undefined constant YaPI::SubscriptionTools ProductProfile.rb: error: line 163, column 9: undefined method y2milestone