Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed May 2, 2017
1 parent 4044d1d commit 5ecbf30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/lib/CIME/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,9 +1239,7 @@ def run_and_log_case_status(func, phase, caseroot='.'):
def _check_for_invalid_args(args):
for arg in args:
# if arg contains a space then it was originally quoted and we can ignore it here.
if " " in arg:
continue
if arg.startswith("--"):
if " " in arg or arg.startswith("--"):
continue
if arg.startswith("-") and len(arg) > 2:
if arg == "-value" or arg == "-noecho":
Expand Down

0 comments on commit 5ecbf30

Please sign in to comment.