← Back to team overview

launchpad-dev team mailing list archive

Re: can't log in; can't file bugs by mail

 

On 25 May 2012 15:50, William Grant <william.grant@xxxxxxxxxxxxx> wrote:
> On 25/05/12 15:46, Martin Pool wrote:
>> How is the spacing wrong? I typed 2 leading spaces on the command lines.
>
> Well, something's odd with the spacing in the original message as
> forwarded inline in your first message. The first command has two
> leading spaces, the other two have three.

I don't think there's ever been a requirement the spacing be
consistent? On a previous attempt it was, and that also failed.

> I suspect Gmail may be doing bad things.

I think it's changing leading spaces entered in the text field to
unicode A0 <http://www.fileformat.info/info/unicode/char/A0/>
"NO-BREAK SPACE".  Maybe Launchpad could interpret them as whitespace
rather than requiring exactly space or tab.


>
> The parsing code is this:
>
>    for line in content.splitlines():
>        # All commands have to be indented.
>        if line.startswith(' ') or line.startswith('\t'):
>            command_string = line.strip()
>



-- 
Martin


Follow ups

References