mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix pylint
This commit is contained in:
parent
a9b12cd1ea
commit
acb14fd43d
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class PkgModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
self.assertIn(self.pkg, remove_ret)
|
||||
|
||||
if version and isinstance(version, dict):
|
||||
version = version[pkg]
|
||||
version = version[self.pkg]
|
||||
|
||||
if version:
|
||||
test_remove()
|
||||
|
|
Loading…
Add table
Reference in a new issue