Browse Source

[PEP8]

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

1
auth_from_http_remote_user/controllers/main.py

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

16
dbfilter_from_header/__openerp__.py

@ -19,9 +19,9 @@
# #
############################################################################## ##############################################################################
{ {
"name" : "dbfilter_from_header",
"version" : "1.0",
"author" : "Therp BV",
"name": "dbfilter_from_header",
"version": "1.0",
"author": "Therp BV",
"complexity": "normal", "complexity": "normal",
"description": """ "description": """
This addon lets you pass a dbfilter as a HTTP header. This addon lets you pass a dbfilter as a HTTP header.
@ -34,11 +34,11 @@
The addon has to be loaded as server-wide module. The addon has to be loaded as server-wide module.
""", """,
"category" : "Tools",
"depends" : [
"category": "Tools",
"depends": [
'web', 'web',
], ],
"data" : [
"data": [
], ],
"js": [ "js": [
], ],
@ -46,7 +46,7 @@
], ],
"auto_install": False, "auto_install": False,
"installable": True, "installable": True,
"external_dependencies" : {
'python' : [],
"external_dependencies": {
'python': [],
}, },
} }
Loading…
Cancel
Save