move gcroots arg up
This commit is contained in:
parent
1ef23e9750
commit
90cb5d2e0f
1 changed files with 2 additions and 2 deletions
|
@ -23,11 +23,11 @@ gcroots = None
|
||||||
for arg in sys.argv[1:]:
|
for arg in sys.argv[1:]:
|
||||||
if arg == "--gc-roots-dir" or arg == "--max-jobs" or arg == "--workers":
|
if arg == "--gc-roots-dir" or arg == "--max-jobs" or arg == "--workers":
|
||||||
skip_next = 2
|
skip_next = 2
|
||||||
if arg == "--gc-roots-dir":
|
|
||||||
next_to_gcroots = True
|
|
||||||
if next_to_gcroots:
|
if next_to_gcroots:
|
||||||
next_to_gcroots = False
|
next_to_gcroots = False
|
||||||
gcroots = arg
|
gcroots = arg
|
||||||
|
if arg == "--gc-roots-dir":
|
||||||
|
next_to_gcroots = True
|
||||||
if skip_next > 0:
|
if skip_next > 0:
|
||||||
skip_next -= 1
|
skip_next -= 1
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue