Skip to content

Commit 93f464f

Browse files
committedDec 28, 2015
Improved wording.
1 parent 52c64ec commit 93f464f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/shortcodes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _parse_string(data, start, stop_at_equals=False, must_have_content=False):
162162
end, value = _parse_unquoted_string(data, start, stop_at_equals)
163163
has_content = len(value) > 0
164164
if must_have_content and not has_content:
165-
raise ParsingError("String starting at {0} must have non-trivial length!".format(_format_position(data, start)))
165+
raise ParsingError("String starting at {0} must be non-empty!".format(_format_position(data, start)))
166166

167167
next_is_equals = False
168168
if stop_at_equals and end + 1 < len(data):

0 commit comments

Comments
 (0)
Failed to load comments.