Browse Source

[PEP8] dbfilter_from_header

pull/12/head
Yannick Vaucher 11 years ago
parent
commit
2b528fa3fe
  1. 1
      dbfilter_from_header/__init__.py

1
dbfilter_from_header/__init__.py

@ -23,6 +23,7 @@ from openerp.addons.web.controllers import main as web_main
db_list_org = web_main.db_list db_list_org = web_main.db_list
def db_list(req, force=False): def db_list(req, force=False):
db_filter = req.httprequest.environ.get('HTTP_X_OPENERP_DBFILTER', '.*') db_filter = req.httprequest.environ.get('HTTP_X_OPENERP_DBFILTER', '.*')
dbs = db_list_org(req, force=force) dbs = db_list_org(req, force=force)

Loading…
Cancel
Save