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
This commit is contained in:
Simon McVittie 2018-01-17 14:10:40 +00:00 committed by openKylinBot
parent aac4840653
commit 3d0ae98292
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import os, select, subprocess, sys, json import os, select, subprocess, sys, json

View File

@ -226,7 +226,7 @@ fi
# Test --die-with-parent # Test --die-with-parent
cat >lockf-n.py <<EOF cat >lockf-n.py <<EOF
#!/usr/bin/env python #!/usr/bin/env python3
import struct,fcntl,sys import struct,fcntl,sys
path = sys.argv[1] path = sys.argv[1]
if sys.argv[2] == 'wait': if sys.argv[2] == 'wait':