summaryrefslogtreecommitdiffstats
path: root/lib/puppet/node.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-11 16:49:40 -0600
committerJames Turnbull <james@lovedthanlost.net>2009-02-12 17:08:48 +1100
commitaf3f3ae93ba1e43ac8231e4cf4e5a1f0ed8f3acb (patch)
tree61167f4c608377aefc5af1a5a3d057fa6f1b3f98 /lib/puppet/node.rb
parentf0ac3aef53a08e271a5c243f17785cdb58f1f5ef (diff)
downloadpuppet-af3f3ae93ba1e43ac8231e4cf4e5a1f0ed8f3acb.tar.gz
puppet-af3f3ae93ba1e43ac8231e4cf4e5a1f0ed8f3acb.tar.xz
puppet-af3f3ae93ba1e43ac8231e4cf4e5a1f0ed8f3acb.zip
Refactoring the XMLRPC::Client error-handling
I split it all into smaller, manageable chunks, and used methods for each step, instead of having one huge call. Note that I made all of the tests first, then refactored the code, so I'm confident there's no behavior change. I don't know that this is actually a lot cleaner, but it seems that way to me. I'm open to skipping this, but I think it makes the whole thing a lot cleaner. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/node.rb')
0 files changed, 0 insertions, 0 deletions