diff options
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r-- | py/python/Ice.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py index 213728682e7..a768bcaecdf 100644 --- a/py/python/Ice.py +++ b/py/python/Ice.py @@ -648,6 +648,14 @@ Identity.__ge__ = Identity__ge__ del Identity__ge__ # +# Annotate Ice::SyscallException. +# +def SyscallException__str__(self): + return "Ice.SyscallException:\n" + os.strerror(self.error) +SyscallException.__str__ = SyscallException__str__ +del SyscallException__str__ + +# # Proxy comparison functions. # def proxyIdentityEqual(lhs, rhs): |