| Total Complexity | 0 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # |
||
| 2 | # Copyright (C) 2020 Red Hat, Inc. |
||
| 3 | # |
||
| 4 | # This copyrighted material is made available to anyone wishing to use, |
||
| 5 | # modify, copy, or redistribute it subject to the terms and conditions of |
||
| 6 | # the GNU General Public License v.2, or (at your option) any later version. |
||
| 7 | # This program is distributed in the hope that it will be useful, but WITHOUT |
||
| 8 | # ANY WARRANTY expressed or implied, including the implied warranties of |
||
| 9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
||
| 10 | # Public License for more details. You should have received a copy of the |
||
| 11 | # GNU General Public License along with this program; if not, write to the |
||
| 12 | # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
||
| 13 | # 02110-1301, USA. Any Red Hat trademarks that are incorporated in the |
||
| 14 | # source code or documentation are not subject to the GNU General Public |
||
| 15 | # License and may only be used or replicated with the express permission of |
||
| 16 | # Red Hat, Inc. |
||
| 17 | # |
||
| 18 | from dasbus.identifier import DBusServiceIdentifier |
||
| 19 | from pyanaconda.core.dbus import DBus |
||
| 20 | from pyanaconda.modules.common.constants.namespaces import ADDONS_NAMESPACE |
||
| 21 | |||
| 22 | # DBus constants |
||
| 23 | OSCAP_NAMESPACE = ( |
||
| 24 | *ADDONS_NAMESPACE, |
||
| 25 | "OSCAP" |
||
| 26 | ) |
||
| 27 | |||
| 28 | OSCAP = DBusServiceIdentifier( |
||
| 29 | namespace=OSCAP_NAMESPACE, |
||
| 30 | message_bus=DBus |
||
| 31 | ) |
||
| 32 |