List Archive: gentoo-portage-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On 05/23/2012 09:06 PM, Mike Frysinger wrote:
> Sometimes people wrap long lines in their ebuilds to make it easier to
> read, but this causes us issues when doing line-by-line checking. So
> automatically unroll those lines before passing the full content down
> to our checkers.
> This seems to work, but maybe someone can suggest something simpler.
This code should come right after the line that says "We're not in a
here-document", because we only need it to trigger when we're not in a
I think it's going to be cleaner to detect an escaped newline with a
regular expression, like r'(^|[^\\])\\$'.