[FIX] Removed print statement.

bzr revid: noz@tinyerp.com-20110713105314-bgbbw3xt2loo2h8w
This commit is contained in:
noz (OpenERP) 2011-07-13 16:23:14 +05:30
parent 18f7e351c8
commit 59aa97860b
1 changed files with 2 additions and 3 deletions

View File

@ -68,9 +68,8 @@ class Database(openerpweb.Controller):
dbs = proxy.list()
h = req.httprequest.headers['Host'].split(':')[0]
d = h.split(':')[0]
r = cherrypy.config['openerp.dbfilter'].replace('%h',h).replace('%d',d)
print "h,d",h,d,r
dbs = [i for i in dbs if re.match(r,i)]
r = cherrypy.config['openerp.dbfilter'].replace('%h', h).replace('%d', d)
dbs = [i for i in dbs if re.match(r, i)]
return {"db_list": dbs}
@openerpweb.jsonrequest