Skip to content

Commit

Permalink
Changing the "module" name used when rereporting global issues
Browse files Browse the repository at this point in the history
  • Loading branch information
carlio committed Aug 28, 2020
1 parent aa7f80b commit 7721691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint_django/checkers/django_installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def open(self):
except ImportError:
# mild hack: this error is added before any modules have been inspected
# so we need to set some kind of value to prevent the linter failing to it
self.linter.set_current_module('project global')
self.linter.set_current_module('pylint_django')
self.add_message('django-not-available')

0 comments on commit 7721691

Please sign in to comment.