mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-16 17:51:58 +02:00
Apply flynt to use f-strings
This commit is contained in:
parent
37a6d9e2e7
commit
1d4ba577a9
22 changed files with 123 additions and 124 deletions
|
@ -39,9 +39,9 @@ class UnknownNodeTypeError(GraphException):
|
|||
|
||||
class NodeUpgradeError(GraphException):
|
||||
def __init__(self, nodeName, details=None):
|
||||
msg = "Failed to upgrade node {}".format(nodeName)
|
||||
msg = f"Failed to upgrade node {nodeName}"
|
||||
if details:
|
||||
msg += ": {}".format(details)
|
||||
msg += f": {details}"
|
||||
super(NodeUpgradeError, self).__init__(msg)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue