[IMP] removed extra logs
bzr revid: fp@tinyerp.com-20091209100604-r49vwzfmhpd1h1ik
This commit is contained in:
parent
3b12be5d20
commit
4036e5ad70
|
@ -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')
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue