~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/utextwrap.py

  • Committer: INADA Naoki
  • Date: 2011-05-14 12:12:29 UTC
  • mto: This revision was merged to the branch mainline in revision 5874.
  • Revision ID: songofacandy@gmail.com-20110514121229-mp2j2zpfylw9wjhy
Remove an assert left.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
        chunks = textwrap.TextWrapper._split(self, unicode(text))
201
201
        cjk_split_chunks = []
202
202
        for chunk in chunks:
203
 
            assert chunk # TextWrapper._split removes empty chunk
204
203
            prev_pos = 0
205
204
            for pos, char in enumerate(chunk):
206
205
                if _eawidth(char) in 'FWA':