Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhayen committed Aug 30, 2020
1 parent 3e67634 commit 387494c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuitka/OptionParsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,8 @@ def _considerPluginOptions():

def parseOptions():
# First, isolate the first non-option arguments.
extra_args = []

if is_nuitka_run:
count = 0

Expand All @@ -843,8 +845,6 @@ def parseOptions():
if count > 0:
extra_args = sys.argv[count + 1 :]
sys.argv = sys.argv[0 : count + 1]
else:
extra_args = []

# Next, lets activate plugins early, so they can inject more options to the parser.
_considerPluginOptions()
Expand Down

0 comments on commit 387494c

Please sign in to comment.