Skip to content

Commit

Permalink
[translation] Fix conditional style
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed May 20, 2022
1 parent 0e25ef9 commit 752789e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osh/cmd_parse.py
Expand Up @@ -982,7 +982,7 @@ def ParseSimpleCommand(self):
preparsed_list, suffix_words = _SplitSimpleCommandPrefix(words)
if not self.parse_opts.parse_sh_assign() and len(preparsed_list):
left_token, _, _, _ = preparsed_list[0]
if suffix_words: # PYTHONPATH=. foo.py
if len(suffix_words): # PYTHONPATH=. foo.py
p_die('Use env to set the environment (parse_sh_assign)',
token=left_token)
else: # x=y
Expand Down

0 comments on commit 752789e

Please sign in to comment.