Commit d5e23707 authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify.

parent 7a03b5ee
No related merge requests found
...@@ -256,9 +256,7 @@ branch = %(branch)s ...@@ -256,9 +256,7 @@ branch = %(branch)s
if isinstance(revision, tuple): if isinstance(revision, tuple):
revision = ','.join(revision) revision = ','.join(revision)
# Deal with Shebang size limitation # Deal with Shebang size limitation
file_object = open(run_test_suite_path, 'r') line = open(run_test_suite_path, 'r').readline()
line = file_object.readline()
file_object.close()
invocation_list = [] invocation_list = []
if line[:2] == '#!': if line[:2] == '#!':
invocation_list = line[2:].split() invocation_list = line[2:].split()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment