Skip to content

Commit

Permalink
Ignore false-positive flake8 undefined for del
Browse files Browse the repository at this point in the history
  • Loading branch information
cslzchen committed Mar 29, 2018
1 parent 14065ab commit cbcb523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mfr/extensions/tabular/libs/stdlib_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def csv_stdlib(fp):
else:
raise TabularRendererError('csv.Error: {}'.format(e), extension='csv') from e

del reader
del reader # noqa
if not columns and not rows:
raise EmptyTableError('Table empty or corrupt.', extension='csv')
return {'Sheet 1': (columns, rows)}
Expand Down

0 comments on commit cbcb523

Please sign in to comment.