[MERGE] changes for string
authorSbh (Openerp) <sbh@tinyerp.com>
Mon, 25 Jun 2012 13:21:14 +0000 (18:51 +0530)
committerSbh (Openerp) <sbh@tinyerp.com>
Mon, 25 Jun 2012 13:21:14 +0000 (18:51 +0530)
bzr revid: sbh@tinyerp.com-20120625132114-t1pkogn3r1od75lm

addons/account/account.py

index 9f71c2a..91615b3 100644 (file)
@@ -295,7 +295,7 @@ class account_account(osv.osv):
             if aml_query.strip():
                 wheres.append(aml_query.strip())
             filters = " AND ".join(wheres)
-            _logger.debug('Filters: %s'%filters)
+            _logger.debug('Filters: %s',(filters))
             # IN might not work ideally in case there are too many
             # children_and_consolidated, in that case join on a
             # values() e.g.:
@@ -311,7 +311,7 @@ class account_account(osv.osv):
                        " GROUP BY l.account_id")
             params = (tuple(children_and_consolidated),) + query_params
             cr.execute(request, params)
-            _logger.debug('Status: %s'%cr.statusmessage)
+            _logger.debug('Status: %s',(cr.statusmessage))
 
             for res in cr.dictfetchall():
                 accounts[res['id']] = res