Skip to content

Commit bcef56c

Browse files
committed
#408 - Add some comments.
1 parent 9f9930e commit bcef56c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/attributecode/model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,9 @@ def load(self, location):
936936
# Therefore, we need to wrap the original value in quote to prevent
937937
# the conversion
938938
pre_input = wrap_boolean_value(input_text)
939+
# saneyaml.load() will have parsing error if the input has
940+
# tab value. Therefore, we should check if the input contains
941+
# any tab and then convert it to spaces.
939942
input = replace_tab_with_spaces(pre_input)
940943
# FIXME: this should be done in the commands, not here
941944
"""

0 commit comments

Comments
 (0)