~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-08-25 00:50:47 UTC
  • Revision ID: mbp@sourcefrog.net-20050825005047-1490a8493f5d1471
- remove dead code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1958
1958
        return cmd_class(cmdopts, cmdargs).status 
1959
1959
 
1960
1960
 
1961
 
def _report_exception(summary, quiet=False):
1962
 
    import traceback
1963
 
    
1964
 
    log_error('bzr: ' + summary)
1965
 
 
1966
 
    if not quiet:
1967
 
        sys.stderr.write('\n')
1968
 
        tb = sys.exc_info()[2]
1969
 
        exinfo = traceback.extract_tb(tb)
1970
 
        if exinfo:
1971
 
            sys.stderr.write('  at %s:%d in %s()\n' % exinfo[-1][:3])
1972
 
        sys.stderr.write('  see ~/.bzr.log for debug information\n')
1973
 
 
1974
 
 
1975
 
 
1976
1961
def main(argv):
1977
1962
    import bzrlib.ui
1978
1963