plugins/model/repositories_model.rb in machinery-tool-1.1.1 vs plugins/model/repositories_model.rb in machinery-tool-1.2.0

- old
+ new

@@ -15,9 +15,12 @@ # To contact SUSE about this file by physical or electronic mail, # you may find current contact information at www.suse.com class Repository < Machinery::Object + def external_medium? + url.start_with?("cd://") || url.start_with?("dvd://") + end end class RepositoriesScope < Machinery::Array include Machinery::ScopeMixin