Prevent E501 by splitting long lines

This commit is contained in:
Mr. Outis
2018-10-24 00:43:42 -05:00
parent 0ec77180d4
commit 0d42ad0d1e
+6 -2
View File
@@ -142,11 +142,15 @@ class Logger(object):
@classmethod
def warn(cls, msg, exc=None):
cls._with_exc(cls.logger().warning, cls.warning_prefix() + msg, exc=exc)
cls._with_exc(cls.logger().warning,
cls.warning_prefix() + msg,
exc=exc)
@classmethod
def debug(cls, msg, exc=None):
cls._with_exc(cls.logger().debug, cls.debug_prefix() + msg, exc=exc)
cls._with_exc(cls.logger().debug,
cls.debug_prefix() + msg,
exc=exc)
@staticmethod
def info(msg):