richardphibel / rpms / systemd

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