Skip to content

Commit 15e0bcf

Browse files
Starred list not supported in older python versions
1 parent b591181 commit 15e0bcf

File tree

1 file changed

+3
-3
lines changed
  • regression/validate-trace-xml-schema

1 file changed

+3
-3
lines changed

regression/validate-trace-xml-schema/check.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def check_spec(self, spec_path):
111111
self.check_trace(spec_path, trace_file)
112112

113113
def read_trace_into(self, trace_file, args):
114-
subprocess.run([CbmcPath, '--trace', '--xml-ui', *args],
114+
subprocess.run([CbmcPath, '--trace', '--xml-ui'] + args,
115115
stdout=trace_file)
116116

117117
def check_trace(self, spec_path, trace_file):
@@ -154,9 +154,9 @@ def report(self):
154154
def run_gradle(args):
155155
with ChangeDir('validate-xsd'):
156156
if os.name == 'nt':
157-
subprocess.check_call(['cmd', '/c', 'gradlew.bat' * args])
157+
subprocess.check_call(['cmd', '/c', 'gradlew.bat'] + args)
158158
else:
159-
subprocess.check_call(['./gradlew', *args])
159+
subprocess.check_call(['./gradlew'] + args)
160160

161161

162162
# ensure that the uberjar exists and is up to date

0 commit comments

Comments
 (0)