def __str__(self):
        try:
            return str(self.details)
        except Exception, exn:
            import sys
            print >>sys.stderr, exn
            return str(self.details) % "Xen-API failure: %s"
dataset/ETHPy150Open locaweb/simplestack/src/simplestack/utils/XenAPI.py/Failure.__str__/swapped operands of `%`