patches timezone grain

This commit is contained in:
cmcmarrow 2019-07-17 15:22:22 -06:00
parent eaca473a47
commit e75dafa31b
No known key found for this signature in database
GPG key ID: 62FAA6B3AC79AD2F

View file

@ -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]))