From: Tony Mack Date: Tue, 11 Dec 2012 04:00:38 +0000 (-0500) Subject: fix AttributeError X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0962b52497e279b916ff3cc9c8144f0441af3578;p=plcapi.git fix AttributeError --- diff --git a/PLC/Method.py b/PLC/Method.py index 8445379b..7d3a627d 100644 --- a/PLC/Method.py +++ b/PLC/Method.py @@ -108,7 +108,7 @@ w caller = "" if self.caller: - caller = 'user: %s' % self.caller.name + caller = 'user: %s' % self.caller['email'] # Prepend caller and method name to expected faults fault.faultString = caller + ": " + self.name + ": " + fault.faultString