From 01073f2df884496e9e02aa18867b23cb2d05888d Mon Sep 17 00:00:00 2001 From: winebarrel Date: Mon, 16 Oct 2023 00:41:52 +0900 Subject: [PATCH] skipcq PYL-C0209 --- qds_sdk/commands.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/qds_sdk/commands.py b/qds_sdk/commands.py index d405c520..69e8a3ac 100755 --- a/qds_sdk/commands.py +++ b/qds_sdk/commands.py @@ -401,7 +401,7 @@ def parse(cls, args): try: q = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) options.script_location = None @@ -486,7 +486,7 @@ def parse(cls, args): try: q = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) options.script_location = None @@ -619,7 +619,7 @@ def validate_script_location(cls, options): # skipcq PY-D0003 try: q = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) @@ -734,7 +734,7 @@ def parse(cls, args): try: q = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) options.script_location = None @@ -896,7 +896,7 @@ def parse(cls, args): try: s = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) options.script_location = None @@ -993,7 +993,7 @@ def parse(cls, args): try: s = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) options.script_location = None @@ -1310,7 +1310,7 @@ def parse(cls, args): try: q = open(options.script_location).read() except IOError as e: - raise ParseError("Unable to open script location: %s" % + raise ParseError("Unable to open script location: %s" % # skipcq PYL-C0209 str(e), cls.optparser.format_help()) options.script_location = None