|
11 | 11 | import six
|
12 | 12 |
|
13 | 13 |
|
14 |
| -class DS2Package(): |
| 14 | +class DS2Package(object): |
15 | 15 | def __init__(self, variables, code=None, return_code=True,
|
16 | 16 | return_message=True, target=None):
|
17 | 17 | self._id = uuid.uuid4().hex.upper()
|
@@ -48,7 +48,7 @@ def code(self):
|
48 | 48 | return '\n'.join(code)
|
49 | 49 |
|
50 | 50 |
|
51 |
| -class DS2BaseMethod(): |
| 51 | +class DS2BaseMethod(object): |
52 | 52 | def __init__(self, name, variables, body=None):
|
53 | 53 | self._name = name
|
54 | 54 | self.variables = variables
|
@@ -166,7 +166,7 @@ def __init__(self, variables, return_code=True, return_message=True,
|
166 | 166 | body=body_statements)
|
167 | 167 |
|
168 | 168 |
|
169 |
| -class DS2Method(): |
| 169 | +class DS2Method(object): |
170 | 170 | def __init__(self, variables, code, target='wrapper'):
|
171 | 171 | self.variables = variables
|
172 | 172 | self._code = code
|
@@ -223,7 +223,7 @@ def code(self, return_code=True, return_message=True):
|
223 | 223 | return func
|
224 | 224 |
|
225 | 225 |
|
226 |
| -class DS2Thread(): |
| 226 | +class DS2Thread(object): |
227 | 227 | def __init__(self, variables, table, column_names=None, return_code=True,
|
228 | 228 | return_message=True, package=None):
|
229 | 229 | """
|
|
0 commit comments