diff options
Diffstat (limited to 'lib/sqlalchemy/log.py')
-rw-r--r-- | lib/sqlalchemy/log.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/log.py b/lib/sqlalchemy/log.py index 0d28af5e6..62e0739f7 100644 --- a/lib/sqlalchemy/log.py +++ b/lib/sqlalchemy/log.py @@ -112,7 +112,8 @@ class echo_property(object): if instance is None: return self else: - return instance._should_log_debug and 'debug' or (instance._should_log_info and True or False) + return instance._should_log_debug and 'debug' or \ + (instance._should_log_info and True or False) def __set__(self, instance, value): instance_logger(instance, echoflag=value) |