From 1011731f5177391074939dac354bb3f4d9d66366 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 Sep 2018 18:40:39 +0530 Subject: [PATCH] ... --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index acbf73cc8f..ad12525766 100755 --- a/setup.py +++ b/setup.py @@ -17,8 +17,7 @@ def check_version_info(): # PY3_TODO: Remove check for 'CALIBRE_PY3_PORT' once calibre works with python3 return raise SystemExit( - 'calibre requires python >= 2.7.9 and < 3. Current python version: %s' - % vi) + 'calibre requires python >= 2.7.9 and < 3. Current python version: ' + '.'.join(map(str, vi[:3]))) check_version_info()