mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
patches timezone grain
This commit is contained in:
parent
eaca473a47
commit
e75dafa31b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ OS_RELEASE_DIR = os.path.join(os.path.dirname(__file__), "os-releases")
|
|||
SOLARIS_DIR = os.path.join(os.path.dirname(__file__), 'solaris')
|
||||
|
||||
|
||||
class MockDateTime:
|
||||
class MockDateTime(object):
|
||||
def __init__(self, **kwargs):
|
||||
for attr in kwargs:
|
||||
setattr(self, attr, self._getattr(attr, kwargs[attr]))
|
||||
|
|
Loading…
Add table
Reference in a new issue