import gettext import sys import logging _ = lambda x: gettext.ldgettext("rhsm", x) from subscription_manager import ga_loader ga_loader.init_ga() 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
import gettext import sys import logging _ = lambda x: gettext.ldgettext("rhsm", x) sys.path.append("/usr/share/rhsm") from subscription_manager import ga_loader ga_loader.init_ga() 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()