Browse Source

[PEP8]

pull/34/head
Laurent Mignon (aka lmi) 11 years ago
parent
commit
97f491724f
  1. 2
      auth_from_http_remote_user/__init__.py
  2. 1
      auth_from_http_remote_user/controllers/main.py
  3. 18
      dbfilter_from_header/__openerp__.py

2
auth_from_http_remote_user/__init__.py

@ -22,4 +22,4 @@
from . import controllers
from . import res_config
from . import res_users
from . import model
from . import model

1
auth_from_http_remote_user/controllers/main.py

@ -82,7 +82,6 @@ class Home(main.Home):
SUPERUSER_ID,
None)
if user_id is None:
if default_login_page_disabled:
raise http.AuthenticationError()

18
dbfilter_from_header/__openerp__.py

@ -19,14 +19,14 @@
#
##############################################################################
{
"name" : "dbfilter_from_header",
"version" : "1.0",
"author" : "Therp BV",
"name": "dbfilter_from_header",
"version": "1.0",
"author": "Therp BV",
"complexity": "normal",
"description": """
This addon lets you pass a dbfilter as a HTTP header.
This is interesting for setups where database names can't be mapped to
This is interesting for setups where database names can't be mapped to
proxied host names.
In nginx, use
@ -34,11 +34,11 @@
The addon has to be loaded as server-wide module.
""",
"category" : "Tools",
"depends" : [
"category": "Tools",
"depends": [
'web',
],
"data" : [
"data": [
],
"js": [
],
@ -46,7 +46,7 @@
],
"auto_install": False,
"installable": True,
"external_dependencies" : {
'python' : [],
"external_dependencies": {
'python': [],
},
}
Loading…
Cancel
Save