summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/thriftgen
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-04 15:07:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-04 15:07:39 +0200
commit9572e116fc060be8c89d1608efdc9c693560b12b (patch)
treeab6e7c143923eefefd1323ebd1304e9591200ea6 /module/remote/thriftbackend/thriftgen
parentoption to skip if file exists (diff)
downloadpyload-9572e116fc060be8c89d1608efdc9c693560b12b.tar.xz
api account fix
Diffstat (limited to 'module/remote/thriftbackend/thriftgen')
-rw-r--r--module/remote/thriftbackend/thriftgen/pyload/ttypes.py33
1 files changed, 1 insertions, 32 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
index 199279dda..4ff110e58 100644
--- a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
+++ b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
@@ -528,7 +528,7 @@ class AccountInfo(TBase):
None, # 0
(1, TType.I64, 'validuntil', None, None, ), # 1
(2, TType.STRING, 'login', None, None, ), # 2
- (3, TType.MAP, 'options', (TType.STRING,None,TType.STRING,None), None, ), # 3
+ (3, TType.MAP, 'options', (TType.STRING,None,TType.LIST,(TType.STRING,None)), None, ), # 3
(4, TType.BOOL, 'valid', None, None, ), # 4
(5, TType.I64, 'trafficleft', None, None, ), # 5
(6, TType.I64, 'maxtraffic', None, None, ), # 6
@@ -547,37 +547,6 @@ class AccountInfo(TBase):
self.type = type
-class AccountData(TBase):
- """
- Attributes:
- - type
- - login
- - password
- - options
- """
-
- __slots__ = [
- 'type',
- 'login',
- 'password',
- 'options',
- ]
-
- thrift_spec = (
- None, # 0
- (1, TType.STRING, 'type', None, None, ), # 1
- (2, TType.STRING, 'login', None, None, ), # 2
- (3, TType.STRING, 'password', None, None, ), # 3
- (4, TType.MAP, 'options', (TType.STRING,None,TType.STRING,None), None, ), # 4
- )
-
- def __init__(self, type=None, login=None, password=None, options=None,):
- self.type = type
- self.login = login
- self.password = password
- self.options = options
-
-
class ServiceCall(TBase):
"""
Attributes: