Remove alignments in arguments for format statements
This commit is contained in:
+11
-11
@@ -104,7 +104,7 @@ class NWErrorMessage(QDialog):
|
||||
"message and traceback shown below.</p>"
|
||||
"<p>URL: <a href='{issueUrl}'>{issueUrl}</a></p>"
|
||||
).format(
|
||||
issueUrl = __issuesurl__,
|
||||
issueUrl=__issuesurl__,
|
||||
))
|
||||
|
||||
try:
|
||||
@@ -124,16 +124,16 @@ class NWErrorMessage(QDialog):
|
||||
"\n"
|
||||
"Traceback:\n{exTrace}\n"
|
||||
).format(
|
||||
nwVersion = __version__,
|
||||
osType = sys.platform,
|
||||
osKernel = kernelVersion,
|
||||
pyVersion = sys.version.split()[0],
|
||||
pyHexVer = sys.hexversion,
|
||||
qtVers = QT_VERSION_STR,
|
||||
pyqtVers = PYQT_VERSION_STR,
|
||||
exType = exType.__name__,
|
||||
exMessage = str(exValue),
|
||||
exTrace = "\n".join(format_tb(exTrace)),
|
||||
nwVersion=__version__,
|
||||
osType=sys.platform,
|
||||
osKernel=kernelVersion,
|
||||
pyVersion=sys.version.split()[0],
|
||||
pyHexVer=sys.hexversion,
|
||||
qtVers=QT_VERSION_STR,
|
||||
pyqtVers=PYQT_VERSION_STR,
|
||||
exType=exType.__name__,
|
||||
exMessage=str(exValue),
|
||||
exTrace="\n".join(format_tb(exTrace)),
|
||||
))
|
||||
except Exception:
|
||||
self.msgBody.setPlainText("Failed to generate error report ...")
|
||||
|
||||
Reference in New Issue
Block a user