Skip to content

Commit

Permalink
Update saltpylint/thirdparty.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
  • Loading branch information
MaxBear and s0undt3ch committed Feb 1, 2024
1 parent 86c789f commit a4821b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion saltpylint/thirdparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def __init__(self, linter=None):
self._inside_try_except = False
self._inside_funcdef = False
self._inside_if = False
self.cwd = self.allowed_3rd_party_modules = []
self.cwd = None
self.allowed_3rd_party_modules = []

def open(self):
super(ThirdPartyImportsChecker, self).open()
Expand Down

0 comments on commit a4821b5

Please sign in to comment.