~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textinv.py

  • Committer: Ian Clatworthy
  • Date: 2008-03-27 07:51:10 UTC
  • mto: (3311.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3312.
  • Revision ID: ian.clatworthy@canonical.com-20080327075110-afgd7x03ybju06ez
Reduce evangelism in the User Guide

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
 
38
38
def unescape(s):
39
 
    if s.find(' ') != -1:
40
 
        raise AssertionError()
 
39
    assert s.find(' ') == -1
41
40
    s = (s.replace(r'\x20', ' ')
42
41
         .replace(r'\x09', '\t')
43
42
         .replace(r'\x0a', '\n')