mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
b8528da5a8
Move the /etc/os-release parser and platform detection code out of the private _importhook module. The ipaplatform module now contains an osinfo module that provides distribution, os, and vendor information. See: https://www.freedesktop.org/software/systemd/man/os-release.html See: https://pagure.io/freeipa/issue/7661 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
12 lines
295 B
Python
12 lines
295 B
Python
#
|
|
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
|
#
|
|
"""ipaplatform namespace package
|
|
|
|
In the presence of a namespace package, any code in this module will be
|
|
ignore.
|
|
"""
|
|
__import__('pkg_resources').declare_namespace(__name__)
|
|
|
|
NAME = None # initialized by ipaplatform.osinfo
|