Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix results creating in GenericViewsAnalyzer

  • Loading branch information...
commit 13e1755eeedc71999cd2f82d60c2b71c2631768e 1 parent d5ca23a
Mike Yumatov authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  project/lint/analyzers/generic_views.py
2  project/lint/analyzers/generic_views.py
@@ -60,7 +60,7 @@ def analyze_file(self, filepath, code):
60 60 for name, node in visitor.found:
61 61 result = Result(
62 62 description = '%r function is deprecated' % name,
63   - file = filepath,
  63 + path = filepath,
64 64 line = node.lineno)
65 65 for lineno, text in self.get_file_lines(filepath, node.lineno):
66 66 result.source.add_line(lineno, text, lineno == node.lineno)

0 comments on commit 13e1755

Please sign in to comment.
Something went wrong with that request. Please try again.