def main(): # parse commandline before importing UI cli_opts = get_options() print_banner() from kupfer import pretty if _debug: pretty.debug = _debug try: import debug debug.install() except ImportError, e: pass
def main(): # parse commandline before importing UI cli_opts = get_options() print_banner() from kupfer import pretty if _debug: pretty.debug = _debug try: import debug debug.install() except ImportError: pass sys.excepthook = sys.__excepthook__ _set_process_title() quiet = ("--no-splash" in cli_opts) gtkmain(quiet)
def main(): # parse commandline before importing UI cli_opts = get_options() print_banner() from kupfer import pretty, version if _debug: pretty.debug = _debug pretty.print_debug(__name__, "Version:", version.PACKAGE_NAME, version.VERSION) try: import debug debug.install() except ImportError: pass sys.excepthook = sys.__excepthook__ _set_process_title() quiet = ("--no-splash" in cli_opts) gtkmain(browser_start, quiet)