lib/exceptions.rb in machinery-tool-1.2.0 vs lib/exceptions.rb in machinery-tool-1.4.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (c) 2013-2014 SUSE LLC
+# Copyright (c) 2013-2015 SUSE LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License as
# published by the Free Software Foundation.
#
@@ -62,11 +62,11 @@
hostname = @scopes.map do |s|
@description[s].meta.hostname if @description[s].meta
end.compact.first || "<HOSTNAME>"
formatted_scopes = Machinery::Ui.internal_scope_list_to_string(@scopes)
- cmd = "#{$0} inspect --extract-files --scope=#{formatted_scopes}"
+ cmd = "#{$0} inspect --extract-files --scope=#{formatted_scopes.delete(" ")}"
cmd += " --name='#{@description.name}'" if hostname != @description.name
cmd += " #{hostname}"
if @scopes.count > 1
output = "The following scopes '#{formatted_scopes}' are part of the system description"
@@ -102,13 +102,16 @@
class BuildFailed < MachineryError; end
class DeployFailed < MachineryError; end
class InspectionFailed < MachineryError; end
class ExportFailed < MachineryError; end
+ class AnalysisFailed < MachineryError; end
+ class UpgradeFailed < MachineryError; end
class SshConnectionFailed < MachineryError; end
class RsyncFailed < MachineryError; end
class OpenInBrowserFailed < MachineryError; end
class ZypperFailed < MachineryError; end
class UnknownConfig < MachineryError; end
+ class UnsupportedArchitecture < MachineryError; end
end
end