richardphibel / rpms / systemd

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