summaryrefslogtreecommitdiffstats
path: root/pyload/remote/socketbackend
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/remote/socketbackend')
-rw-r--r--pyload/remote/socketbackend/create_ttypes.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyload/remote/socketbackend/create_ttypes.py b/pyload/remote/socketbackend/create_ttypes.py
index 722da8d56..9b001f1bf 100644
--- a/pyload/remote/socketbackend/create_ttypes.py
+++ b/pyload/remote/socketbackend/create_ttypes.py
@@ -49,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)))
@@ -73,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))