diff options
author | Christian Heimes <cheimes@redhat.com> | 2016-11-16 10:39:05 +0100 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-16 14:43:53 +0100 |
commit | 94a9dfb9d72ecd25a01316febbf2ffec50912e2e (patch) | |
tree | c9d2f943a95bb1acb6615e87a3ecfc29f0e3a4a6 /ipaplatform | |
parent | 6b9977f04199bf161d7171aedae9f97648c415c8 (diff) | |
download | freeipa-94a9dfb9d72ecd25a01316febbf2ffec50912e2e.tar.gz freeipa-94a9dfb9d72ecd25a01316febbf2ffec50912e2e.tar.xz freeipa-94a9dfb9d72ecd25a01316febbf2ffec50912e2e.zip |
Don't modify redhat_system_units
ipaplatform.fedora.services used to modify the redhat_system_units dict.
It now creates a proper shallow copy.
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipaplatform')
-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 5b1dfc824..a3b951a43 100644 --- a/ipaplatform/fedora/services.py +++ b/ipaplatform/fedora/services.py @@ -26,7 +26,7 @@ from ipaplatform.redhat import services as redhat_services # Mappings from service names as FreeIPA code references to these services # to their actual systemd service names -fedora_system_units = redhat_services.redhat_system_units +fedora_system_units = redhat_services.redhat_system_units.copy() # Service that sets domainname on Fedora is called fedora-domainname.service fedora_system_units['domainname'] = 'fedora-domainname.service' |