[X2Go-Commits] [pyhoca-gui] 01/02: __future__ imports need to be at the very top of a .py file.

git-admin at x2go.org git-admin at x2go.org
Mon Dec 2 19:25:22 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 1c145b1db4f9ec7bddc9d7c32b2aaa63e3117db5
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Dec 2 19:24:20 2019 +0100

    __future__ imports need to be at the very top of a .py file.
---
 debian/changelog | 1 +
 setup.py         | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 32d3c6f..92f32e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ pyhoca-gui (0.6.0.0-0x2go1) UNRELEASED; urgency=medium
     - Menu.Append() calls: Turn arguments into positional arguments. Makes the
       code run on wx3 and wx4.
     - Port to wxPython 4.0.x.
+    - __future__ imports need to be at the very top of a .py file.
   * debian/control:
     + Switch from Py2 to Py3 (B-Ds and Ds).
 
diff --git a/setup.py b/setup.py
index 1b72992..1d9d532 100755
--- a/setup.py
+++ b/setup.py
@@ -20,14 +20,14 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
+from __future__ import print_function
+
 # import the PyHoca-GUI
 import sys
 import os
 import platform
 import datetime
 
-from __future__ import print_function
-
 PROGRAM_NAME = 'PyHoca-GUI'
 # Windows:  UNINSTALL_NAME is for add/remove programs
 UNINSTALL_NAME = 'PyHoca-GUI (A graphical X2Go client)'

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list