Split long lines.
This commit is contained in:
parent
116ab5429a
commit
36019c0cab
@ -241,7 +241,8 @@ class _CrashDialog(QDialog):
|
|||||||
except Exception:
|
except Exception:
|
||||||
self._crash_info.append(("Launch time", traceback.format_exc()))
|
self._crash_info.append(("Launch time", traceback.format_exc()))
|
||||||
try:
|
try:
|
||||||
self._crash_info.append(("Crash time", datetime.datetime.now().ctime()))
|
self._crash_info.append(("Crash time",
|
||||||
|
datetime.datetime.now().ctime()))
|
||||||
except Exception:
|
except Exception:
|
||||||
self._crash_info.append(("Crash time", traceback.format_exc()))
|
self._crash_info.append(("Crash time", traceback.format_exc()))
|
||||||
try:
|
try:
|
||||||
|
@ -54,7 +54,8 @@ else:
|
|||||||
SIMPLE_FMT = '{asctime:8} {levelname}: {message}'
|
SIMPLE_FMT = '{asctime:8} {levelname}: {message}'
|
||||||
EXTENDED_FMT = ('{asctime:8} {levelname:8} {name:10} {module}:{funcName}:'
|
EXTENDED_FMT = ('{asctime:8} {levelname:8} {name:10} {module}:{funcName}:'
|
||||||
'{lineno} {message}')
|
'{lineno} {message}')
|
||||||
SIMPLE_FMT_COLORED = '%(green)s%(asctime)-8s%(reset)s %(log_color)s%(levelname)s%(reset)s: %(message)s'
|
SIMPLE_FMT_COLORED = ('%(green)s%(asctime)-8s%(reset)s '
|
||||||
|
'%(log_color)s%(levelname)s%(reset)s: %(message)s')
|
||||||
EXTENDED_FMT_COLORED = (
|
EXTENDED_FMT_COLORED = (
|
||||||
'%(green)s%(asctime)-8s%(reset)s '
|
'%(green)s%(asctime)-8s%(reset)s '
|
||||||
'%(log_color)s%(levelname)-8s%(reset)s '
|
'%(log_color)s%(levelname)-8s%(reset)s '
|
||||||
|
Loading…
Reference in New Issue
Block a user