Skip to content

Commit

Permalink
No SQL debug logs unless web.config.debug_sql is set
Browse files Browse the repository at this point in the history
Trivial, but helpful.
  • Loading branch information
Nimrod S. Kerrett committed Mar 22, 2011
1 parent ee7cbe5 commit b5d2c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/db.py
Expand Up @@ -464,7 +464,7 @@ def __init__(self, db_module, keywords):

self._ctx = threadeddict()
# flag to enable/disable printing queries
self.printing = config.get('debug', False)
self.printing = config.get('debug_sql', False) ###@@@ was 'debug'. was irritating :)
self.supports_multiple_insert = False

try:
Expand Down

0 comments on commit b5d2c79

Please sign in to comment.