From 476be07b4686d5fc26a971dc7ac2dd6ecdde0e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Sun, 17 Nov 2019 23:41:24 +0100 Subject: [PATCH] Use python3 interpreter by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This may ease development, because development environment will be probably already on python3. Signed-off-by: Jaroslav Škarvada --- experiments/kwin-stop/xlib-example.py | 2 +- experiments/powertop2tuned.py | 2 +- libexec/defirqaffinity.py | 2 +- libexec/pmqos-static.py | 2 +- systemtap/varnetload | 2 +- tuned-adm.py | 2 +- tuned-gui.py | 2 +- tuned.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/experiments/kwin-stop/xlib-example.py b/experiments/kwin-stop/xlib-example.py index a0d62060..781c1968 100644 --- a/experiments/kwin-stop/xlib-example.py +++ b/experiments/kwin-stop/xlib-example.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -Es +#!/usr/bin/python3 -Es from __future__ import print_function import os diff --git a/experiments/powertop2tuned.py b/experiments/powertop2tuned.py index 76d048aa..211df2d3 100755 --- a/experiments/powertop2tuned.py +++ b/experiments/powertop2tuned.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -Es +#!/usr/bin/python3 -Es # -*- coding: utf-8 -*- # # Copyright (C) 2008-2013 Red Hat, Inc. diff --git a/libexec/defirqaffinity.py b/libexec/defirqaffinity.py index b667fb4e..ab7dca58 100755 --- a/libexec/defirqaffinity.py +++ b/libexec/defirqaffinity.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Helper script for realtime profiles provided by RT diff --git a/libexec/pmqos-static.py b/libexec/pmqos-static.py index d97a866d..2af4c187 100755 --- a/libexec/pmqos-static.py +++ b/libexec/pmqos-static.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # # pmqos-static.py: Simple daemon for setting static PM QoS values. It is a part # of 'tuned' and it should not be called manually. diff --git a/systemtap/varnetload b/systemtap/varnetload index cfb049c8..def1761d 100755 --- a/systemtap/varnetload +++ b/systemtap/varnetload @@ -1,4 +1,4 @@ -#!/usr/bin/python -Es +#!/usr/bin/python3 -Es # # varnetload: A python script to create reproducable sustained network traffic diff --git a/tuned-adm.py b/tuned-adm.py index 98df243d..fcf19e21 100755 --- a/tuned-adm.py +++ b/tuned-adm.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -Es +#!/usr/bin/python3 -Es # # tuned: daemon for monitoring and adaptive tuning of system devices # diff --git a/tuned-gui.py b/tuned-gui.py index d4dd05d0..6287fc8b 100755 --- a/tuned-gui.py +++ b/tuned-gui.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # Copyright (C) 2014 Red Hat, Inc. diff --git a/tuned.py b/tuned.py index e1f5ea3e..a5b6ccf2 100755 --- a/tuned.py +++ b/tuned.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -Es +#!/usr/bin/python3 -Es # # tuned: daemon for monitoring and adaptive tuning of system devices #