Skip to content

Commit 89a5196

Browse files
author
Andy C
committed
[translation] Fix build
1 parent fa068fe commit 89a5196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/shell.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -957,9 +957,9 @@ def Main(
957957
# First, process --eval flags. In interactive mode, this comes before --rcfile.
958958
# (It could be used for the headless shell. Although terminals have a bootstrap process.)
959959
# Note that --eval
960-
if flag.eval:
960+
if flag.eval is not None:
961961
raise AssertionError()
962-
if flag.eval_pure:
962+
if flag.eval_pure is not None:
963963
raise AssertionError('pure')
964964

965965
#

0 commit comments

Comments
 (0)