From a4f8d11427e513e070304f772525d184aa37edfa Mon Sep 17 00:00:00 2001 From: Rob Speer Date: Thu, 10 Sep 2015 13:46:19 -0400 Subject: [PATCH] In ninja deps, remove 'startrow' as a variable --- wordfreq_builder/wordfreq_builder/ninja.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wordfreq_builder/wordfreq_builder/ninja.py b/wordfreq_builder/wordfreq_builder/ninja.py index 5b177d4..293eb0d 100644 --- a/wordfreq_builder/wordfreq_builder/ninja.py +++ b/wordfreq_builder/wordfreq_builder/ninja.py @@ -255,11 +255,9 @@ def subtlex_other_deps(dirname_in, languages): # Skip one header line by setting 'startrow' to 2 (because tail is 1-based). # I hope we don't need to configure this by language anymore. - startrow = 2 - add_dep( lines, 'convert_subtlex', input_file, processed_file, - params={'textcol': textcol, 'freqcol': freqcol, 'startrow': startrow} + params={'textcol': textcol, 'freqcol': freqcol, 'startrow': 2} ) add_dep( lines, 'merge_counts', processed_file, output_file