diff options
Diffstat (limited to 'module/remote/create_ttypes.py')
-rw-r--r-- | module/remote/create_ttypes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/remote/create_ttypes.py b/module/remote/create_ttypes.py index fc4d75d32..c50142322 100644 --- a/module/remote/create_ttypes.py +++ b/module/remote/create_ttypes.py @@ -83,6 +83,9 @@ def main(): class BaseObject(object): \t__slots__ = [] +\tdef __str__(self): +\t\treturn "<%s %s>" % (self.__class__.__name__, ", ".join("%s=%s" % (k,getattr(self,k)) for k in self.__slots__)) + """) dev = open(join(path, "ttypes_debug.py"), "wb") |