summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-08-04 16:45:28 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-08-04 16:45:28 -0400
commite1bb715c585ff7debd886fde982e12b4215b142d (patch)
treecdb1768425de24ac6ee7ecacba37cd09ca37a3eb /contrib
parentfadbb2e42a2aba90f116a0eaa2c8b8e529706785 (diff)
downloadcobbler-e1bb715c585ff7debd886fde982e12b4215b142d.tar.gz
cobbler-e1bb715c585ff7debd886fde982e12b4215b142d.tar.xz
cobbler-e1bb715c585ff7debd886fde982e12b4215b142d.zip
Fix typo in error message
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ruby/examples/list_profiles.rb2
-rw-r--r--contrib/ruby/lib/cobbler/base.rb5
2 files changed, 3 insertions, 4 deletions
diff --git a/contrib/ruby/examples/list_profiles.rb b/contrib/ruby/examples/list_profiles.rb
index 3ca97c50..578922b0 100644
--- a/contrib/ruby/examples/list_profiles.rb
+++ b/contrib/ruby/examples/list_profiles.rb
@@ -50,4 +50,4 @@ if hostname
puts "Results:"
Profile.find { |profile| puts "\"#{profile.name}\" is based on \"#{profile.distro}\"."}
-end \ No newline at end of file
+end
diff --git a/contrib/ruby/lib/cobbler/base.rb b/contrib/ruby/lib/cobbler/base.rb
index bbd7263d..a2b3e838 100644
--- a/contrib/ruby/lib/cobbler/base.rb
+++ b/contrib/ruby/lib/cobbler/base.rb
@@ -96,8 +96,7 @@ module Cobbler
# Makes a remote call.
#
def self.make_call(*args)
- raise Exception.new('No exception established.') unless @@connection
-
+ raise Exception.new('No connection established.') unless @@connection
@@connection.call(*args)
end
@@ -258,4 +257,4 @@ module Cobbler
end
end
end
-end \ No newline at end of file
+end