~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

merge 2.0 trunk (rev 4660)

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
    elif isinstance(exc_object, KeyboardInterrupt):
433
433
        err_file.write("bzr: interrupted\n")
434
434
        return errors.EXIT_ERROR
 
435
    elif isinstance(exc_object, MemoryError):
 
436
        err_file.write("bzr: out of memory\n")
 
437
        return errors.EXIT_ERROR
435
438
    elif isinstance(exc_object, ImportError) \
436
439
        and str(exc_object).startswith("No module named "):
437
440
        report_user_error(exc_info, err_file,