[diffoscope] 01/01: oops
Mattia Rizzolo
mattia at debian.org
Sat Sep 16 12:10:19 CEST 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository diffoscope.
commit b91df87ed45f49114847cc384cf9c1504e218abb
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Sep 16 12:09:43 2017 +0200
oops
(ought to have tested it before committing)
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
setup.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 5cd5fb9..3b98469 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
+from __future__ import print_function
+
import sys
import diffoscope
@@ -10,8 +12,8 @@ from setuptools.command.test import test as TestCommand
try:
assert sys.version_info >= (3, 4)
except AssertionError:
- from __future__ import print_function
print("diffoscope requires at least python 3.4", file=sys.stderr)
+ sys.exit(1)
class PyTest(TestCommand):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list