From d55151ac705ac0c44fff326f32b22db999638321 Mon Sep 17 00:00:00 2001 From: Mike Romberg Date: Mon, 6 Jun 2016 13:26:55 -0600 Subject: [PATCH] > to >= --- Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 92dd35c5f..be7af9171 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -1252,7 +1252,7 @@ public: Delete(apkg); } else { Printf(out, "import sys\n"); - Printf(out, "if sys.version_info > (2, 7, 0):\n"); + Printf(out, "if sys.version_info >= (2, 7, 0):\n"); if (py3_rlen1) Printf(out, tab4 "from . import %.*s\n", py3_rlen1, rpkg); Printf(out, tab4 "from .%s import %s%s\n", rpkg, pfx, mod);