diff options
author | Martin Basti <mbasti@redhat.com> | 2015-12-16 16:10:03 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-12-23 07:57:55 +0100 |
commit | fba70a0346dabb0a9752c9552a8f0757586979c0 (patch) | |
tree | 3c3882b1866cc903a64a69877a17c7919b78b621 /ipaplatform/fedora | |
parent | 403652b5b9cc5e80869019067cbe1424b5c02bd1 (diff) | |
download | freeipa-fba70a0346dabb0a9752c9552a8f0757586979c0.tar.gz freeipa-fba70a0346dabb0a9752c9552a8f0757586979c0.tar.xz freeipa-fba70a0346dabb0a9752c9552a8f0757586979c0.zip |
Use module variables for timedate_services
Explicitly store timedate services in module variable is safer than
doind just unused import.
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaplatform/fedora')
-rw-r--r-- | ipaplatform/fedora/services.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaplatform/fedora/services.py b/ipaplatform/fedora/services.py index 33becc219..5b1dfc824 100644 --- a/ipaplatform/fedora/services.py +++ b/ipaplatform/fedora/services.py @@ -56,6 +56,6 @@ class FedoraServices(redhat_services.RedHatServices): # Objects below are expected to be exported by platform module -from ipaplatform.redhat.services import timedate_services +timedate_services = redhat_services.timedate_services service = fedora_service_class_factory knownservices = FedoraServices() |