Browse Source

style classes (object)

Bastien Sevajol 9 years ago
parent
commit
6d919d75fe

+ 1 - 1
tracim/tracim/lib/auth/base.py View File

@@ -21,7 +21,7 @@ def _get_clean_sa_auth(config):
21 21
     return sa_auth
22 22
 
23 23
 
24
-class Auth:
24
+class Auth(object):
25 25
     """
26 26
     Auth strategy base class
27 27
     """

+ 1 - 1
tracim/tracim/lib/auth/wrapper.py View File

@@ -3,7 +3,7 @@ from tracim.lib.auth.internal import InternalAuth
3 3
 from tracim.lib.auth.ldap import LDAPAuth
4 4
 
5 5
 
6
-class AuthConfigWrapper:
6
+class AuthConfigWrapper(object):
7 7
 
8 8
     # TODO: Dynamic load, like plugins ?
9 9
     AUTH_CLASSES = (InternalAuth, LDAPAuth)

+ 1 - 1
tracim/tracim/tests/__init__.py View File

@@ -255,7 +255,7 @@ class TracimTestController(TestController):
255 255
         return form.submit(status=302)
256 256
 
257 257
 
258
-class LDAPTest:
258
+class LDAPTest(object):
259 259
 
260 260
     """
261 261
     Server fixtures, see https://github.com/zoldar/python-ldap-test