1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
Description: Use /usr/bin/python3 for examples and tests.
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2021-02-12
--- 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
--- 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
--- 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
--- 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
--- 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.
"""
--- 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
--- 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
--- 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
|