Make the jieba_deps comment make sense

This commit is contained in:
Rob Speer 2015-09-22 17:19:00 -04:00
parent 48734d1a60
commit 7c12f2aca1

View File

@ -215,7 +215,8 @@ def opensubtitles_deps(dirname_in, languages):
def jieba_deps(dirname_in, languages): def jieba_deps(dirname_in, languages):
lines = [] lines = []
# Either subtlex_zh is turned off, or it's just in Chinese # Because there's Chinese-specific handling here, the valid options for
# 'languages' are [] and ['zh']. Make sure it's one of those.
if not languages: if not languages:
return lines return lines
assert languages == ['zh'] assert languages == ['zh']