Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

look for empty file

  • Loading branch information...
commit afd345dd31e38f1635b0145af28ee3dc720294b4 1 parent 56086fb
Joe McWilliams authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/cuisine.py
2  src/cuisine.py
View
@@ -253,7 +253,7 @@ def text_ensure_line(text, *lines):
the end of it."""
eol = text_detect_eol(text)
res = list(text.split(eol))
- if res[0] is '' and len(res)=1:
+ if res[0] is '' and len(res) is 1:
res = list()
for line in lines:
assert line.find(eol) == -1, "No EOL allowed in lines parameter: " + repr(line)
Please sign in to comment.
Something went wrong with that request. Please try again.