~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: Martin Pool
  • Date: 2005-04-15 01:31:21 UTC
  • Revision ID: mbp@sourcefrog.net-20050415013121-b18f1be12a735066
- Doc cleanups from Magnus Therning

Show diffs side-by-side

added added

removed removed

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