From ed8129d5d3fbae2962a36dff3c1cd6577d8aea4a Mon Sep 17 00:00:00 2001 From: Johanna England Date: Fri, 28 Jul 2023 14:15:46 +0200 Subject: [PATCH] Fix bug discovered by sonarlint --- examples/reboot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/reboot.py b/examples/reboot.py index 7aa78a6..4e0d46d 100644 --- a/examples/reboot.py +++ b/examples/reboot.py @@ -41,7 +41,8 @@ def main(): ) except Exception as e: print( - "Unable to schedule maintenance for %s %a : %s"(device, port, e) + "Unable to schedule maintenance for %s %a : %s" + % (device, port, e) )