# File lib/puppet/network/handler/master.rb, line 65
65:     def decode_facts(facts)
66:       if @local
67:         # we don't need to do anything, since we should already
68:         # have raw objects
69:         Puppet.debug "Our client is local"
70:       else
71:         Puppet.debug "Our client is remote"
72: 
73:         begin
74:           facts = YAML.load(CGI.unescape(facts))
75:         rescue => detail
76:           raise XMLRPC::FaultException.new(
77:             1, "Could not rebuild facts"
78:           )
79:         end
80:       end
81: 
82:       facts
83:     end