summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Pentchev <roam@ringlet.net>2022-09-05 16:28:57 +0300
committerPeter Pentchev <roam@debian.org>2022-09-05 16:28:57 +0300
commit77521ae992dd6fcbd91d1f42fbff3d262e07af2c (patch)
tree8a4961725ec88bd8c6d0200081bac19905a75ded
parent51c6e193beabcabadd9c471af60aad819eee5821 (diff)
Use /usr/bin/python3 for examples and tests.
Forwarded: not-needed Last-Update: 2021-02-12 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
8 files changed, 8 insertions, 8 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