[Pkg-mpd-commits] [python-mpd] 103/262: test.py fix mixed up version in version compare

Simon McVittie smcv at debian.org
Sun May 22 18:16:31 UTC 2016


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

smcv pushed a commit to branch upstream
in repository python-mpd.

commit ed9674f16307f3011ba0874176bb6f31d8ee6711
Author: Jörg Thalheim <jthalheim at gmail.com>
Date:   Fri Feb 17 20:08:53 2012 +0100

    test.py fix mixed up version in version compare
---
 test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test.py b/test.py
index babf8c7..1434e09 100755
--- a/test.py
+++ b/test.py
@@ -12,7 +12,7 @@ try:
 except ImportError:
     # required for python3
     # python2.7 works with this module too!
-    if sys.version_info >= (2, 1, 7):
+    if sys.version_info >= (2, 7):
         import unittest
     else:
         print("Please install unittest2 from pypi to run tests!")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git



More information about the Pkg-mpd-commits mailing list