From 3d0ae982924053b43892043123c1657f383160c3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 17 Jan 2018 14:10:40 +0000 Subject: [PATCH] Use Python 3 for test/demo code Forwarded: not-needed Gbp-Pq: Topic debian Gbp-Pq: Name Use-Python-3-for-test-demo-code.patch --- demos/userns-block-fd.py | 2 +- tests/test-run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/userns-block-fd.py b/demos/userns-block-fd.py index 4c68242..2ef2fd6 100755 --- a/demos/userns-block-fd.py +++ b/demos/userns-block-fd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os, select, subprocess, sys, json diff --git a/tests/test-run.sh b/tests/test-run.sh index a01f41c..535e9b6 100755 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -226,7 +226,7 @@ fi # Test --die-with-parent cat >lockf-n.py <