Permalink
Browse files

Kill unused line counting mechanism. #87

  • Loading branch information...
1 parent 9e4b442 commit 28a7aa45dee10ce055e02399a9958bdc460f8f2f @onyxfish onyxfish committed Aug 16, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −1 csvkit/utilities/csvcut.py
  2. +0 −1 csvkit/utilities/csvgrep.py
  3. +0 −1 csvkit/utilities/csvlook.py
@@ -39,7 +39,6 @@ def main(self):
output.writerow([column_names[c] for c in column_ids])
for i, row in enumerate(rows):
- self.input_line_number = i + 1
out_row = [row[c] if c < len(row) else None for c in column_ids]
if self.args.delete_empty:
@@ -57,7 +57,6 @@ def main(self):
filter_reader = FilteringCSVReader(rows, header=False, patterns=patterns, inverse=self.args.inverse)
for i, row in enumerate(filter_reader):
- self.input_line_number = i + 1
output.writerow(row)
def launch_new_instance():
@@ -31,7 +31,6 @@ def main(self):
self.output_file.write('%s\n' % divider)
for i, row in enumerate(rows):
- self.input_line_number = i + 1
output = []
for j, d in enumerate(row):

0 comments on commit 28a7aa4

Please sign in to comment.