mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-20 16:20:18 +00:00
Use pyupgrade with --py36-plus param.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2015 GNS3 Technologies Inc.
|
||||
#
|
||||
@ -38,5 +37,5 @@ class ImageMissingError(Exception):
|
||||
"""
|
||||
|
||||
def __init__(self, image):
|
||||
super().__init__("The image {} is missing".format(image))
|
||||
super().__init__(f"The image '{image}' is missing")
|
||||
self.image = image
|
||||
|
Reference in New Issue
Block a user