summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-doc
diff options
context:
space:
mode:
authorGreg Rose <gvrose8192@gmail.com>2020-08-21 13:30:07 -0700
committerIlya Maximets <i.maximets@ovn.org>2020-08-26 13:05:01 +0200
commit90c1cb3f0fefc8316b358f1f25133335f73273c9 (patch)
treed22e5f78c143a736904e3bc8b0603ffdbe65733c /ovsdb/ovsdb-doc
parent79a5251a501d64b04e76c68db50274a7b8ebfc88 (diff)
downloadopenvswitch-90c1cb3f0fefc8316b358f1f25133335f73273c9.tar.gz
python: Fixup python shebangs to python3.
Builds on RHEL 8.2 systems are failing due to this issue. See [1] as to why this is necessary. I used the following command to identify files that need this fix: find . -type f -executable | /usr/lib/rpm/redhat/brp-mangle-shebangs I also updated the copyright notices as needed. 1. https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.") Signed-off-by: Greg Rose <gvrose8192@gmail.com> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb/ovsdb-doc')
-rwxr-xr-xovsdb/ovsdb-doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ovsdb/ovsdb-doc b/ovsdb/ovsdb-doc
index 406c29311..10d0c0c13 100755
--- a/ovsdb/ovsdb-doc
+++ b/ovsdb/ovsdb-doc
@@ -1,6 +1,6 @@
-#! /usr/bin/python
+#!/usr/bin/python3
-# Copyright (c) 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc.
+# Copyright (c) 2010, 2011, 2012, 2013, 2014, 2015, 2020 Nicira, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.