commit 756e6c6e0247227c76916fbebb050e8e38ea3526
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Jun 8 10:41:22 2020 +0200
Switch to python3
libva-intel-driver.spec | 2 +-
parse-intel-vaapi-driver.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libva-intel-driver.spec b/libva-intel-driver.spec
index 45f4e88..1c53d37 100644
--- a/libva-intel-driver.spec
+++ b/libva-intel-driver.spec
@@ -17,7 +17,7 @@ ExclusiveArch: %{ix86} x86_64
BuildRequires: libtool
BuildRequires: gcc
-BuildRequires: python2
+BuildRequires: python3
# AppStream metadata generation
BuildRequires: libappstream-glib >= 0.6.3
diff --git a/parse-intel-vaapi-driver.py b/parse-intel-vaapi-driver.py
index 5deac83..eadf333 100755
--- a/parse-intel-vaapi-driver.py
+++ b/parse-intel-vaapi-driver.py
@@ -1,10 +1,9 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018 Nicolas Chauvet <kwizart(a)gmail.com>
# Licensed under the GNU General Public License Version or later
-from __future__ import print_function
import sys
def main():