This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pyhoca-cli. commit b5d0ec9c0de36ee76fc38f7b38626b12da103e8d Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Nov 10 13:54:55 2018 +0100 setup.py: need to import the sys module, not just version_info into global namespace. --- debian/changelog | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 764f872..8a7998d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ pyhoca-cli (0.6.0.1-0x2go1) UNRELEASED; urgency=medium * New upstream version (0.6.0.1): - setup.py: backport Python 2 support via io.open. - setup.py: we actually also need the version information, so import it. + - setup.py: need to import the sys module, not just version_info into + global namespace. * pyhoca-cli.spec: - Build with Python 2 on CentOS, drop python3-argparse dependency (part of stdlib). diff --git a/setup.py b/setup.py index 05507ff..b30d8e6 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. import os -from sys import version_info +import sys from setuptools import setup -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git