[Python-modules-commits] [cf-python] 12/17: Remove check for python version.
Klaus Zimmermann
zklaus-guest at moszumanska.debian.org
Thu Sep 8 14:48:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
zklaus-guest pushed a commit to branch master
in repository cf-python.
commit 46498e1a77c26402df5e49b2b62e8f65d3794e8c
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date: Thu Aug 18 20:17:22 2016 +0200
Remove check for python version.
The python version in sid at the moment is 2.7.12+.
The + breaks the check, which is superfluous in any case, since
the python2 version is guaranteed to be 2.7 anyway.
Signed-off-by: Klaus Zimmermann <klaus_zimmermann at gmx.de>
---
cf/__init__.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/cf/__init__.py b/cf/__init__.py
index b370e3c..393a69c 100644
--- a/cf/__init__.py
+++ b/cf/__init__.py
@@ -58,12 +58,12 @@ import imp
import platform
# Check the version of python
-if not (StrictVersion('2.6.0')
- <= StrictVersion(platform.python_version())
- < StrictVersion('3.0.0')):
- raise ValueError(
- "Bad python version: cf requires 2.6 <= python < 3.0. Got %s" %
- platform.python_version())
+# if not (StrictVersion('2.6.0')
+# <= StrictVersion(platform.python_version())
+# < StrictVersion('3.0.0')):
+# raise ValueError(
+# "Bad python version: cf requires 2.6 <= python < 3.0. Got %s" %
+# platform.python_version())
## Check the version of numpy
#import numpy
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cf-python.git
More information about the Python-modules-commits
mailing list