コード例 #1
0
from subscription_manager.ga import Gtk as ga_Gtk
from subscription_manager.ga import gtk_compat

gtk_compat.threads_init()

import rhsm

# enable logging for firstboot
from subscription_manager import logutil
logutil.init_logger()

log = logging.getLogger(__name__)

# neuter linkify in firstboot
from subscription_manager.gui.utils import running_as_firstboot
running_as_firstboot()

from subscription_manager.injectioninit import init_dep_injection
init_dep_injection()

from subscription_manager import injection as inj

from subscription_manager.facts import Facts
from subscription_manager.hwprobe import Hardware
from subscription_manager.gui import managergui
from subscription_manager.gui import registergui
from subscription_manager.gui.utils import format_exception
from subscription_manager.i18n import configure_i18n

from firstboot import module
from firstboot import constants
コード例 #2
0
from subscription_manager.ga import Gtk as ga_Gtk
from subscription_manager.ga import gtk_compat

gtk_compat.threads_init()

import rhsm

# enable logging for firstboot
from subscription_manager import logutil
logutil.init_logger()

log = logging.getLogger("rhsm-app." + __name__)

# neuter linkify in firstboot
from subscription_manager.gui.utils import running_as_firstboot
running_as_firstboot()

from subscription_manager.injectioninit import init_dep_injection
init_dep_injection()

from subscription_manager import injection as inj

from subscription_manager.facts import Facts
from subscription_manager.hwprobe import Hardware
from subscription_manager.gui import managergui
from subscription_manager.gui import registergui
from subscription_manager.gui.utils import format_exception
from subscription_manager.i18n import configure_i18n

from firstboot import module
from firstboot import constants