summaryrefslogtreecommitdiff
path: root/scripts/mock-noinline.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2019-12-03 16:29:12 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2019-12-04 13:13:01 +0000
commitf0b3840fb654289c774df1fa13f3cb6f901ade61 (patch)
treed6aa3e09ceac74b9b961b8c76df816036ab6236e /scripts/mock-noinline.py
parentbba1ec3d37a8489cea114dc976b68ace73fa1d1f (diff)
downloadlibvirt-f0b3840fb654289c774df1fa13f3cb6f901ade61.tar.gz
build: only support python3 binary
python2 will be end of life by the time of the next libvirt release. All our supported build targets, including CentOS7, have a python3 build available. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'scripts/mock-noinline.py')
-rw-r--r--scripts/mock-noinline.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/mock-noinline.py b/scripts/mock-noinline.py
index b338c5f097..4fc60c0be3 100644
--- a/scripts/mock-noinline.py
+++ b/scripts/mock-noinline.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) 2017-2019 Red Hat, Inc.
#
@@ -16,8 +16,6 @@
# License along with this library. If not, see
# <http://www.gnu.org/licenses/>.
-from __future__ import print_function
-
import re
import sys