ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
b7dd4d
From da722bc383c359b77fab671a0e7872fe4c0232ce Mon Sep 17 00:00:00 2001
b7dd4d
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
b7dd4d
Date: Sat, 22 Aug 2020 16:07:05 +0200
b7dd4d
Subject: [PATCH] generate-syscall-list: require python3
b7dd4d
b7dd4d
Python3.4 works, but 2.7 returns a tuple from os.uname().
b7dd4d
b7dd4d
(cherry picked from commit 8694114b809f92f6a882134f3635aa42bfb41e11)
b7dd4d
b7dd4d
Related: #2040247
b7dd4d
---
b7dd4d
 src/shared/generate-syscall-list.py | 2 +-
b7dd4d
 1 file changed, 1 insertion(+), 1 deletion(-)
b7dd4d
b7dd4d
diff --git a/src/shared/generate-syscall-list.py b/src/shared/generate-syscall-list.py
b7dd4d
index 13a6ae9241..0b90d2d276 100755
b7dd4d
--- a/src/shared/generate-syscall-list.py
b7dd4d
+++ b/src/shared/generate-syscall-list.py
b7dd4d
@@ -1,4 +1,4 @@
b7dd4d
-#!/usr/bin/env python
b7dd4d
+#!/usr/bin/env python3
b7dd4d
 import sys
b7dd4d
 
b7dd4d
 for line in open(sys.argv[1]):