[libgda] Python: requesting just python3



commit e694f011a7ed024956b139b50f566a1ebed5a66a
Author: Daniel Espinosa <esodan gmail com>
Date:   Sat Nov 23 11:47:11 2019 -0600

    Python: requesting just python3

 examples/Gir/dataproxy.py                | 2 +-
 examples/Gir/meta_store.py               | 2 +-
 libgda-report/RML/trml2html/trml2html.py | 3 ++-
 libgda-report/RML/trml2pdf/trml2pdf.py   | 3 ++-
 providers/mysql/gen_bin.py               | 2 +-
 5 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/examples/Gir/dataproxy.py b/examples/Gir/dataproxy.py
index 836f4e71a..cab8fd654 100644
--- a/examples/Gir/dataproxy.py
+++ b/examples/Gir/dataproxy.py
@@ -1,4 +1,4 @@
-#! python
+#!/usr/bin/env python3
 from gi.repository import GLib
 from gi.repository import Gda
 print Gda
diff --git a/examples/Gir/meta_store.py b/examples/Gir/meta_store.py
index d66650ef0..e6902cc5a 100644
--- a/examples/Gir/meta_store.py
+++ b/examples/Gir/meta_store.py
@@ -1,4 +1,4 @@
-#! python
+#!/usr/bin/env python3
 from gi.repository import GLib
 from gi.repository import Gda
 print Gda
diff --git a/libgda-report/RML/trml2html/trml2html.py b/libgda-report/RML/trml2html/trml2html.py
index 5ad2e9e4e..fe08ad8c4 100644
--- a/libgda-report/RML/trml2html/trml2html.py
+++ b/libgda-report/RML/trml2html/trml2html.py
@@ -1,4 +1,5 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
+
 # -*- coding: utf-8 -*-
 
 # trml2pdf - An RML to PDF converter
diff --git a/libgda-report/RML/trml2pdf/trml2pdf.py b/libgda-report/RML/trml2pdf/trml2pdf.py
index 8364cb127..2be392639 100644
--- a/libgda-report/RML/trml2pdf/trml2pdf.py
+++ b/libgda-report/RML/trml2pdf/trml2pdf.py
@@ -1,4 +1,5 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
+
 # -*- coding: utf-8 -*-
 
 # trml2pdf - An RML to PDF converter
diff --git a/providers/mysql/gen_bin.py b/providers/mysql/gen_bin.py
index 919306d04..a4bcd6602 100755
--- a/providers/mysql/gen_bin.py
+++ b/providers/mysql/gen_bin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import argparse
 import os


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]