Skip to content

Commit

Permalink
skipcq PYL-C0209
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Oct 15, 2023
1 parent 466a392 commit 01073f2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions qds_sdk/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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())

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 01073f2

Please sign in to comment.