[IMP] removed extra logs

bzr revid: fp@tinyerp.com-20091209100604-r49vwzfmhpd1h1ik
This commit is contained in:
Fabien Pinckaers 2009-12-09 11:06:04 +01:00
parent 3b12be5d20
commit 4036e5ad70
2 changed files with 1 additions and 2 deletions

View File

@ -225,7 +225,7 @@ class Logger(object):
try:
msg = tools.ustr(msg).strip()
if level in (LOG_ERROR,LOG_CRITICAL) and tools.config.get_misc('debug','env_info',True):
if level in (LOG_ERROR,LOG_CRITICAL) and tools.config.get_misc('debug','env_info',False):
msg = common().exp_get_server_environment() + "\n" + msg
result = msg.split('\n')

View File

@ -3167,7 +3167,6 @@ class orm(orm_template):
return res[0][0]
# execute the "main" query to fetch the ids we were searching for
print 'select %s.id from ' % self._table + ','.join(tables) +qu1+' order by '+order_by+limit_str+offset_str, qu2
cr.execute('select %s.id from ' % self._table + ','.join(tables) +qu1+' order by '+order_by+limit_str+offset_str, qu2)
res = cr.fetchall()
return [x[0] for x in res]