summaryrefslogtreecommitdiffstats
path: root/pyload/remote/socketbackend
diff options
context:
space:
mode:
authorGravatar ardi69 <armin@diedering.de> 2015-04-18 14:08:18 +0200
committerGravatar ardi69 <armin@diedering.de> 2015-04-18 14:08:18 +0200
commit6e8f84e1dc06cff6fa9387559992f555182c1774 (patch)
tree476600f9896fae029880e4049eb4c5e6021b202d /pyload/remote/socketbackend
parentfix: config cast (diff)
parentSpare code cosmetics (5) (diff)
downloadpyload-6e8f84e1dc06cff6fa9387559992f555182c1774.tar.xz
Merge pull request #3 from vuolter/0.4.10
merge vuolter HEAD
Diffstat (limited to 'pyload/remote/socketbackend')
-rw-r--r--pyload/remote/socketbackend/create_ttypes.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pyload/remote/socketbackend/create_ttypes.py b/pyload/remote/socketbackend/create_ttypes.py
index 72bc4c231..9b001f1bf 100644
--- a/pyload/remote/socketbackend/create_ttypes.py
+++ b/pyload/remote/socketbackend/create_ttypes.py
@@ -37,6 +37,7 @@ def main():
# Autogenerated by pyload
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+
class BaseObject(object):
\t__slots__ = []
@@ -48,7 +49,8 @@ class BaseObject(object):
f.write("class %s:\n" % name)
for attr in dir(enum):
- if attr.startswith("_") or attr in ("read", "write"): continue
+ if attr.startswith("_") or attr in ("read", "write"):
+ continue
f.write("\t%s = %s\n" % (attr, getattr(enum, attr)))
@@ -72,7 +74,8 @@ class BaseObject(object):
f.write("class Iface(object):\n")
for name in dir(Iface):
- if name.startswith("_"): continue
+ if name.startswith("_"):
+ continue
func = inspect.getargspec(getattr(Iface, name))