Message ID | 1589406607-8892-1-git-send-email-hzhou@ovn.org |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev,ovn] conf.py: Fix flake8 error in build. | expand |
On Wed, May 13, 2020 at 02:50:07PM -0700, Han Zhou wrote: > In commit 8fcbcca9649f it made the line > 79, which causes build error. > > Fixes: 8fcbcca9649f ("docs: update various OVS references to OVN") > Cc: Dan Williams <dcbw@redhat.com> > Signed-off-by: Han Zhou <hzhou@ovn.org> I found the same problem and the same fix. Acked-by: Ben Pfaff <blp@ovn.org>
On Wed, May 13, 2020 at 3:40 PM Ben Pfaff <blp@ovn.org> wrote: > > On Wed, May 13, 2020 at 02:50:07PM -0700, Han Zhou wrote: > > In commit 8fcbcca9649f it made the line > 79, which causes build error. > > > > Fixes: 8fcbcca9649f ("docs: update various OVS references to OVN") > > Cc: Dan Williams <dcbw@redhat.com> > > Signed-off-by: Han Zhou <hzhou@ovn.org> > > I found the same problem and the same fix. > > Acked-by: Ben Pfaff <blp@ovn.org> Thanks Ben. I applied this to master.
diff --git a/Documentation/conf.py b/Documentation/conf.py index 138ac88..d89c64e 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -65,8 +65,8 @@ with open(filename, 'rU') as f: release = line.split(',')[1].strip(string.whitespace + '[]') break if release is None: - sys.stderr.write('%s: failed to determine Open Virtual Network (OVN) version\n' - % filename) + sys.stderr.write('%s: failed to determine Open Virtual Network (OVN) ' + 'version\n' % filename) sys.exit(1) # The short X.Y version.
In commit 8fcbcca9649f it made the line > 79, which causes build error. Fixes: 8fcbcca9649f ("docs: update various OVS references to OVN") Cc: Dan Williams <dcbw@redhat.com> Signed-off-by: Han Zhou <hzhou@ovn.org> --- Documentation/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)