summaryrefslogtreecommitdiffstats
path: root/ipaplatform/rhel
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-12-16 16:10:03 +0100
committerJan Cholasta <jcholast@redhat.com>2015-12-23 07:57:55 +0100
commitfba70a0346dabb0a9752c9552a8f0757586979c0 (patch)
tree3c3882b1866cc903a64a69877a17c7919b78b621 /ipaplatform/rhel
parent403652b5b9cc5e80869019067cbe1424b5c02bd1 (diff)
downloadfreeipa-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/rhel')
-rw-r--r--ipaplatform/rhel/services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaplatform/rhel/services.py b/ipaplatform/rhel/services.py
index 861738eb2..980c84a96 100644
--- a/ipaplatform/rhel/services.py
+++ b/ipaplatform/rhel/services.py
@@ -56,6 +56,6 @@ class RHELServices(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 = rhel_service_class_factory
knownservices = RHELServices()