summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-29 12:31:01 -0500
committerLuke Kanies <luke@madstop.com>2007-10-29 12:31:01 -0500
commitdb293cf3b9e9dd129d8c65aa39272425651addae (patch)
tree4e6e8345443a0333217a9ec0626e492aede4ad90
parentd03f68eaed6d05483128b495ad1faaf89208d66a (diff)
downloadpuppet-db293cf3b9e9dd129d8c65aa39272425651addae.tar.gz
puppet-db293cf3b9e9dd129d8c65aa39272425651addae.tar.xz
puppet-db293cf3b9e9dd129d8c65aa39272425651addae.zip
Fixing a bit of indentation and commenting in the xmlrpc/client file
-rw-r--r--lib/puppet/network/xmlrpc/client.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index c652dbf8d..ab4117b0e 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -128,12 +128,12 @@ module Puppet::Network
120 # a two minute timeout, instead of 30 seconds
)
- # We overwrite the uninitialized @http here with a cached one.
+ # We overwrite the uninitialized @http here with a cached one.
key = "%s%s" % [hash[:Server], hash[:Port]]
if @@http_cache[key]
- @http = @@http_cache[key]
+ @http = @@http_cache[key]
else
- @@http_cache[key] = @http
+ @@http_cache[key] = @http
end
end
@@ -150,4 +150,3 @@ module Puppet::Network
end
end
end
-