Re: [PATCH] Fix earlier "import quilt patches" patch
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Sep 24, 2005, 19:47 UTC
- Message-ID
- <b0943d9e0509241247b2a5c75@mail.gmail.com>
- In-Reply-To
- <20050924104622.17274.18611.stgit@zion.home.lan>
On 24/09/05, Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> wrote:
> I forgot to update all cases - I updated __parse_mail, not __parse_patch, so > refactor together this duplication and use the fixed version.
Thanks. I'll apply it tomorrow.
> Btw, I don't like those regexps - they'd match in the middle of line too. What > about adding ^ to their beginning like for the "^Index: " regexp?
Python's re.match() only matches from the beginning of the line, so ^ is not needed.
Catalin
-- Catalin