summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Pentchev <roam@ringlet.net>2020-11-29 18:23:14 +0200
committerPeter Pentchev <roam@debian.org>2020-11-29 18:23:14 +0200
commit64e3366989e51c5212785f2662e1e46016d4f4c5 (patch)
tree228f1b443435a91d0158798809cf9e655c116513
parente9e9bc0923067ff4fe664eefa6b136852b28363e (diff)
Use /usr/bin/python3 for examples and tests.
Forwarded: not-needed Last-Update: 2020-11-29 Gbp-Pq: Name python-path.patch
-rwxr-xr-xexamples/python/contenthash_calculation.py2
-rwxr-xr-xexamples/python/repodata_parsing.py2
-rwxr-xr-xexamples/python/repomd_parsing.py2
-rwxr-xr-xexamples/python/simple_createrepo.py2
-rwxr-xr-xexamples/python/simple_modifyrepo.py2
-rwxr-xr-xexamples/python/updateinfo_gen_01.py2
-rwxr-xr-xexamples/python/updateinfo_gen_02.py2
-rwxr-xr-xexamples/python/updateinfo_parsing.py2
-rwxr-xr-xutils/single_test.py2
9 files changed, 9 insertions, 9 deletions
diff --git a/examples/python/contenthash_calculation.py b/examples/python/contenthash_calculation.py
index 2ceab17..1559ac2 100755
--- a/examples/python/contenthash_calculation.py
+++ b/examples/python/contenthash_calculation.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import sys
import os
diff --git a/examples/python/repodata_parsing.py b/examples/python/repodata_parsing.py
index ea517a1..5a8e25a 100755
--- a/examples/python/repodata_parsing.py
+++ b/examples/python/repodata_parsing.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import os
import os.path
diff --git a/examples/python/repomd_parsing.py b/examples/python/repomd_parsing.py
index 5db507f..c163632 100755
--- a/examples/python/repomd_parsing.py
+++ b/examples/python/repomd_parsing.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import os
import os.path
diff --git a/examples/python/simple_createrepo.py b/examples/python/simple_createrepo.py
index a55647e..b000b1d 100755
--- a/examples/python/simple_createrepo.py
+++ b/examples/python/simple_createrepo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import os
import sys
diff --git a/examples/python/simple_modifyrepo.py b/examples/python/simple_modifyrepo.py
index b68dc4e..3372e77 100755
--- a/examples/python/simple_modifyrepo.py
+++ b/examples/python/simple_modifyrepo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
"""
An example of inserting updateinfo.xml into repodata.
"""
diff --git a/examples/python/updateinfo_gen_01.py b/examples/python/updateinfo_gen_01.py
index 777d2bb..47f7cd9 100755
--- a/examples/python/updateinfo_gen_01.py
+++ b/examples/python/updateinfo_gen_01.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import datetime
import createrepo_c as cr
diff --git a/examples/python/updateinfo_gen_02.py b/examples/python/updateinfo_gen_02.py
index 2ed628f..bcdfa2c 100755
--- a/examples/python/updateinfo_gen_02.py
+++ b/examples/python/updateinfo_gen_02.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import datetime
import createrepo_c as cr
diff --git a/examples/python/updateinfo_parsing.py b/examples/python/updateinfo_parsing.py
index d66e79e..2fd51c8 100755
--- a/examples/python/updateinfo_parsing.py
+++ b/examples/python/updateinfo_parsing.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import os
import os.path
diff --git a/utils/single_test.py b/utils/single_test.py
index be01dd3..1d27967 100755
--- a/utils/single_test.py
+++ b/utils/single_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
"""
Convert a single line from test output to run single test command.