Am 12. August 2011 14:32 schrieb René Nussbaumer <[email protected]>:
> On Fri, Aug 12, 2011 at 2:13 PM, Michael Hanselmann <[email protected]> wrote:
>> --- a/lib/ht.py
>> +++ b/lib/ht.py
>> +    assert text.strip()
>> +
>
> So you just want to make sure it's not empty, but don't you also want
> to use the stripped text?

Yes. One may have a good reason to use spaces, but I want to avoid
empty or just whitespace strings.

Michael

Reply via email to