Message ID | 1495166976-16935-1-git-send-email-twilson@redhat.com |
---|---|
State | Superseded |
Headers | show |
On Fri, May 19, 2017 at 9:39 AM, Terry Wilson <twilson@redhat.com> wrote: > Stop occluding the previous definition of filename. > > Signed-off-by: Terry Wilson <twilson@redhat.com> > Acked-by: Numan Siddique <nusiddiq@redhat.com> > --- > Documentation/conf.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/conf.py b/Documentation/conf.py > index d70ee6b..62531dd 100644 > --- a/Documentation/conf.py > +++ b/Documentation/conf.py > @@ -121,6 +121,6 @@ _man_pages = [ > > # Generate list of (path, name, description, [author, ...], section) > man_pages = [ > - ('ref/%s' % filename, filename.split('.', 1)[0], > - description, [author], filename.split('.', 1)[1]) > - for filename, description in _man_pages] > + ('ref/%s' % fname, fname.split('.', 1)[0], > + description, [author], fname.split('.', 1)[1]) > + for fname, description in _man_pages] > -- > 1.8.3.1 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev >
On Fri, May 19, 2017 at 2:16 PM, Numan Siddique <nusiddiq@redhat.com> wrote: > > ---------- Forwarded message ---------- > From: Numan Siddique <nusiddiq@redhat.com> > Date: Fri, May 19, 2017 at 11:09 AM > Subject: Re: [ovs-dev] [PATCH] Fix flake8 check > To: Terry Wilson <twilson@redhat.com> > Cc: ovs dev <dev@openvswitch.org> > > > > > On Fri, May 19, 2017 at 9:39 AM, Terry Wilson <twilson@redhat.com> wrote: > >> Stop occluding the previous definition of filename. >> >> Signed-off-by: Terry Wilson <twilson@redhat.com> >> > > Acked-by: Numan Siddique <nusiddiq@redhat.com> > > > >> --- >> Documentation/conf.py | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/Documentation/conf.py b/Documentation/conf.py >> index d70ee6b..62531dd 100644 >> --- a/Documentation/conf.py >> +++ b/Documentation/conf.py >> @@ -121,6 +121,6 @@ _man_pages = [ >> >> # Generate list of (path, name, description, [author, ...], section) >> man_pages = [ >> - ('ref/%s' % filename, filename.split('.', 1)[0], >> - description, [author], filename.split('.', 1)[1]) >> - for filename, description in _man_pages] >> + ('ref/%s' % fname, fname.split('.', 1)[0], >> + description, [author], fname.split('.', 1)[1]) >> + for fname, description in _man_pages] >> -- >> 1.8.3.1 >> >> _______________________________________________ >> dev mailing list >> dev@openvswitch.org >> https://mail.openvswitch.org/mailman/listinfo/ovs-dev >> > > > Tested-by: Marcin Mirecki <mmirecki@redhat.com> <https://www.redhat.com>
On 19 May 2017 at 05:35, Marcin Mirecki <mmirecki@redhat.com> wrote: > On Fri, May 19, 2017 at 2:16 PM, Numan Siddique <nusiddiq@redhat.com> wrote: > >> >> ---------- Forwarded message ---------- >> From: Numan Siddique <nusiddiq@redhat.com> >> Date: Fri, May 19, 2017 at 11:09 AM >> Subject: Re: [ovs-dev] [PATCH] Fix flake8 check >> To: Terry Wilson <twilson@redhat.com> >> Cc: ovs dev <dev@openvswitch.org> >> >> >> >> >> On Fri, May 19, 2017 at 9:39 AM, Terry Wilson <twilson@redhat.com> wrote: >> >>> Stop occluding the previous definition of filename. >>> >>> Signed-off-by: Terry Wilson <twilson@redhat.com> >>> >> >> Acked-by: Numan Siddique <nusiddiq@redhat.com> >> >> >> >>> --- >>> Documentation/conf.py | 6 +++--- >>> 1 file changed, 3 insertions(+), 3 deletions(-) >>> >>> diff --git a/Documentation/conf.py b/Documentation/conf.py >>> index d70ee6b..62531dd 100644 >>> --- a/Documentation/conf.py >>> +++ b/Documentation/conf.py >>> @@ -121,6 +121,6 @@ _man_pages = [ >>> >>> # Generate list of (path, name, description, [author, ...], section) >>> man_pages = [ >>> - ('ref/%s' % filename, filename.split('.', 1)[0], >>> - description, [author], filename.split('.', 1)[1]) >>> - for filename, description in _man_pages] >>> + ('ref/%s' % fname, fname.split('.', 1)[0], >>> + description, [author], fname.split('.', 1)[1]) >>> + for fname, description in _man_pages] >>> -- >>> 1.8.3.1 >>> >>> _______________________________________________ >>> dev mailing list >>> dev@openvswitch.org >>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev >>> >> >> >> > Tested-by: Marcin Mirecki <mmirecki@redhat.com> Thanks all on this, looks like the equivalent patch here was merged to the same effect: https://mail.openvswitch.org/pipermail/ovs-dev/2017-May/332669.html
diff --git a/Documentation/conf.py b/Documentation/conf.py index d70ee6b..62531dd 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -121,6 +121,6 @@ _man_pages = [ # Generate list of (path, name, description, [author, ...], section) man_pages = [ - ('ref/%s' % filename, filename.split('.', 1)[0], - description, [author], filename.split('.', 1)[1]) - for filename, description in _man_pages] + ('ref/%s' % fname, fname.split('.', 1)[0], + description, [author], fname.split('.', 1)[1]) + for fname, description in _man_pages]
Stop occluding the previous definition of filename. Signed-off-by: Terry Wilson <twilson@redhat.com> --- Documentation/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)