Re: [PATCH] Construct VC directory filter for supported plugins
- From: Vincent Legoll <vincent legoll gmail com>
- To: Stephen Kennedy <stevek gnome org>
- Cc: meld-list <meld-list gnome org>
- Subject: Re: [PATCH] Construct VC directory filter for supported plugins
- Date: Sat, 4 Apr 2009 12:34:41 +0200
On Fri, Apr 3, 2009 at 10:16 AM, Vincent Legoll
<vincent legoll gmail com> wrote:
> On Fri, Apr 3, 2009 at 9:27 AM, Stephen Kennedy <stevek gnome org> wrote:
>> 2009/3/30 Vincent Legoll <vincent legoll gmail com>:
>>> here is a first shot at replacing the hard-coded
>>> directory filter for VC metadata directories.
>>>
>>> I'd really appreciate comments about how to
>>> implement a better (complete ?) shell_escape()
>>> in misc.py. The current one is working for now
>>> but is not OK for a long term solution.
>>
>> Looks good. Maybe just punt for now and assert
>> on the unhandled cases? In this case it might be
>> better to keep the "incomplete" function local in
>> meldapp.py
>
> I'm really not sure we want to put an unrelated
> function like that in meldapp.py, it is the complementary
> to shell_to_regex(), so I think it should be near, even if
> not completely implemented.
>
> I'll add the required assertions though
Here we are, added assertion about unhandled cases.
I still think this belongs to (in order) fnmatch > misc > meldapp
--
Vincent Legoll
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]