~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: Martin Pool
  • Date: 2006-06-04 22:13:03 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: mbp@sourcefrog.net-20060604221303-1f902e4ec57868d4
Show short form for OSError and IOError too

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    if kind == 'directory':
22
22
        # use this even on windows?
23
23
        kind_ch = '/'
 
24
    elif kind == 'symlink':
 
25
        kind_ch = '->'
24
26
    else:
25
27
        assert kind == 'file', ("can't handle file of type %r" % kind)
26
28
        kind_ch = ''