diff options
Diffstat (limited to 'cloudinit/patcher.py')
-rw-r--r-- | cloudinit/patcher.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cloudinit/patcher.py b/cloudinit/patcher.py index 186d8ad8..516be22c 100644 --- a/cloudinit/patcher.py +++ b/cloudinit/patcher.py @@ -10,8 +10,9 @@ import logging import sys # Default fallback format -FALL_FORMAT = ('FALLBACK: %(asctime)s - %(filename)s[%(levelname)s]: ' + - '%(message)s') +FALL_FORMAT = ( + "FALLBACK: %(asctime)s - %(filename)s[%(levelname)s]: " + "%(message)s" +) class QuietStreamHandler(logging.StreamHandler): @@ -34,6 +35,8 @@ def patch_logging(): fallback_handler.flush() except IOError: pass - setattr(logging.Handler, 'handleError', handleError) + + setattr(logging.Handler, "handleError", handleError) + # vi: ts=4 expandtab |