[Python-modules-commits] [cf-python] 04/16: Remove check for python version.

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Tue Sep 13 06:47:45 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 87006e95faab3c46ce2b55e90290b27c0e972062
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 46a8b5f..65d0b96 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