Diff for /XMLRpcTools/XmlRpcProxy.py between versions 1.5 and 1.6

version 1.5, 2008/03/06 15:08:32 version 1.6, 2011/03/03 17:51:06
Line 102  class XmlRpcProxyMethod(SimpleItem): Line 102  class XmlRpcProxyMethod(SimpleItem):
         while True:          while True:
             try:              try:
                 # call the method self.id on the server with the args                  # call the method self.id on the server with the args
                   logging.debug("XmlRpcProxyMethod: server=%s method=%s args=%s"%(server, self.id, repr(args)))
                 return getattr(server, self.id)(*args)                  return getattr(server, self.id)(*args)
                   
             except:              except:
                 # should we catch only specific exceptions?                  # should we catch only specific exceptions?
                   logging.error("XmlRpcProxyMethod: error!")
                 if i >= self.num_retries:                  if i >= self.num_retries:
                     # pass on exception                      # pass on exception
                     raise                      raise

Removed from v.1.5  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>