From e6e29a1c03535555d0b18545e1b8a0b759fcb9b4 Mon Sep 17 00:00:00 2001 From: Robyn Speer Date: Tue, 22 Sep 2015 17:19:00 -0400 Subject: [PATCH] Make the jieba_deps comment make sense Former-commit-id: 7c12f2aca169951f4619deb168b00fe14ff06809 --- wordfreq_builder/wordfreq_builder/ninja.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wordfreq_builder/wordfreq_builder/ninja.py b/wordfreq_builder/wordfreq_builder/ninja.py index 2c94f58..80437ff 100644 --- a/wordfreq_builder/wordfreq_builder/ninja.py +++ b/wordfreq_builder/wordfreq_builder/ninja.py @@ -215,7 +215,8 @@ def opensubtitles_deps(dirname_in, languages): def jieba_deps(dirname_in, languages): 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: return lines assert languages == ['zh']