~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: Martin Pool
  • Date: 2005-08-29 05:13:23 UTC
  • Revision ID: mbp@sourcefrog.net-20050829051323-4f42d0a5c0e57d03
- robustness of trace.log_exception

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
 
        assert kind == 'file'
 
27
        assert kind == 'file', ("can't handle file of type %r" % kind)
26
28
        kind_ch = ''
27
29
 
28
30
    assert len(state) == 1