Skip to content

Commit

Permalink
Fix questionnaire choice key duplicates validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ihalaij1 committed Nov 28, 2023
1 parent 32af027 commit 2b02ed3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion directives/questionnaire.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ def split_second_last(empty_lines):
key = key[1:]
if key.endswith('.'):
key = key[:-1]
choice_keys.append(key)

if key in choice_keys:
source, line = self.state_machine.get_source_and_line(self.lineno)
Expand Down

0 comments on commit 2b02ed3

Please sign in to comment.