~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: John Arbash Meinel
  • Date: 2005-11-30 15:43:57 UTC
  • mto: (1185.50.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1518.
  • Revision ID: john@arbash-meinel.com-20051130154357-614206b3a7b83cd0
Refactored bzrlib/ui.py into a module with the possibility for multiple ui forms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
 
544
544
def main(argv):
545
545
    import bzrlib.ui
 
546
    from bzrlib.ui.text import TextUIFactory
546
547
    ## bzrlib.trace.enable_default_logging()
547
548
    bzrlib.trace.log_startup(argv)
548
 
    bzrlib.ui.ui_factory = bzrlib.ui.TextUIFactory()
 
549
    bzrlib.ui.ui_factory = TextUIFactory()
549
550
    ret = run_bzr_catch_errors(argv[1:])
550
551
    mutter("return code %d", ret)
551
552
    return ret