~geoff.bache/capturemock/trunk

« back to all changes in this revision

Viewing changes to capturemock/clientservertraffic.py

  • Committer: Geoff Bache
  • Date: 2014-08-06 08:29:09 UTC
  • Revision ID: geoff.bache@jeppesen.com-20140806082909-sz4g3rz7ke9ac323
Tidying syntax error for Python 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    def forwardToServer(self):
59
59
        try:
60
60
            responseObject = getattr(self.destination, self.method)(*self.params)
61
 
        except xmlrpclib.Fault, e:
 
61
        except xmlrpclib.Fault as e:
62
62
            responseObject = e
63
63
 
64
64
        text = self.applyAlterations(self.fixMultilineStrings(responseObject))