minirst formatter chokes on bad width
Martin Geisler
mg at lazybytes.net
Thu Sep 3 12:04:01 CDT 2009
Matt Mackall <mpm at selenic.com> writes:
>> File "/usr/local/lib/python2.6/site-packages/mercurial/minirst.py", line
>> 308, in formatblock
>> subsequent_indent=subindent)
>> File "/usr/local/lib/python2.6/textwrap.py", line 358, in fill
>> return w.fill(text)
>> File "/usr/local/lib/python2.6/textwrap.py", line 330, in fill
>> return "\n".join(self.wrap(text))
>> File "/usr/local/lib/python2.6/textwrap.py", line 321, in wrap
>> return self._wrap_chunks(chunks)
>> File "/usr/local/lib/python2.6/textwrap.py", line 250, in _wrap_chunks
>> raise ValueError("invalid width %r (must be > 0)" % self.width)
>> ValueError: invalid width -2 (must be > 0)
>
> Let's try putting a useful subject on this and see if anyone pays
> attention.
Thanks -- I'm definitely paying attention now! I'll investigate later
tonight...
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090903/6b8467a1/attachment.pgp
More information about the Mercurial-devel
mailing list