mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix: always trigger __getattr__ to reset and increment the configuration before the call.
This commit is contained in:
parent
7e1712dd80
commit
f189f90124
1 changed files with 3 additions and 1 deletions
|
@ -121,6 +121,8 @@ class _Zypper(object):
|
|||
self.__no_raise = True
|
||||
elif item == 'refreshable':
|
||||
self.__refresh = True
|
||||
elif item == 'call':
|
||||
return self.__call
|
||||
else:
|
||||
return self.__dict__[item]
|
||||
|
||||
|
@ -210,7 +212,7 @@ class _Zypper(object):
|
|||
self.error_msg = _error_msg
|
||||
return True
|
||||
|
||||
def call(self, *args, **kwargs):
|
||||
def __call(self, *args, **kwargs):
|
||||
'''
|
||||
Call Zypper.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue