浏览代码

style classes (object)

Bastien Sevajol 9 年前
父节点
当前提交
6d919d75fe
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      tracim/tracim/lib/auth/base.py
  2. 1 1
      tracim/tracim/lib/auth/wrapper.py
  3. 1 1
      tracim/tracim/tests/__init__.py

+ 1 - 1
tracim/tracim/lib/auth/base.py 查看文件

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 查看文件

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 查看文件

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