Browse Source

style classes (object)

Bastien Sevajol 9 years ago
parent
commit
6d919d75fe

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

21
     return sa_auth
21
     return sa_auth
22
 
22
 
23
 
23
 
24
-class Auth:
24
+class Auth(object):
25
     """
25
     """
26
     Auth strategy base class
26
     Auth strategy base class
27
     """
27
     """

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

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

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

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