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:
parent
aac4840653
commit
3d0ae98292
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os, select, subprocess, sys, json
|
import os, select, subprocess, sys, json
|
||||||
|
|
||||||
|
|
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue