diff options
author | Harel Ben-Attia <harelba@gmail.com> | 2014-10-26 11:48:49 -0400 |
---|---|---|
committer | Harel Ben-Attia <harelba@gmail.com> | 2014-10-26 11:48:49 -0400 |
commit | 8d45a4aeb8cc47768368e6cfbed01ea0130dd277 (patch) | |
tree | 8745646487bdf9e3c6c869a59ff2f8a23c413839 /bin | |
parent | ddf52cb04b2bc2afa530396097a2e89b29b94941 (diff) |
Suppressed column count warning when the user provides a specific column count of 1
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/q | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -501,7 +501,7 @@ class TableColumnInferer(object): else: raise Exception('Unknown parsing mode %s' % self.mode) - if self.column_count == 1: + if self.column_count == 1 and self.expected_column_count != 1: print >>sys.stderr, "Warning: column count is one - did you provide the correct delimiter?" if self.column_count == 0: raise Exception("Detected a column count of zero... Failing") |