WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 3 of 7] tools/check: update python version check

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 3 of 7] tools/check: update python version check
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 04 Oct 2011 16:21:52 +0200
Delivery-date: Tue, 04 Oct 2011 07:26:33 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1317738124; l=749; s=domk; d=aepfle.de; h=To:From:Date:References:In-Reply-To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:X-RZG-CLASS-ID: X-RZG-AUTH; bh=NB/FI3NdULgQ2E9dTXCrEz5EPQc=; b=IMcFq7bWSA2l1Q2kYQxWedVo7ar/dkSpsubcw2gUCgXc+o7a0CppC7/AfWdADIwaZJg 1mLUFf0qx6PQ84zO2i6D4uxzltHmz7UgzjCBcy2S2WB0Co5gg7fEFwIT2B3WiwB87FmIN QsTVjHQR5ScrjhJMuM1pll69RpZdQ6mXOE0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1317738109@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1317738109@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1317738017 -7200
# Node ID 738452bd9f33343e46a8e05a3f999935ca5e4c2e
# Parent  bcd7b8ee7e99dc6348c3132a7248db5829bc53f9
tools/check: update python version check

Python 2.3 is the minimal version according to the README.
Adjust check script.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r bcd7b8ee7e99 -r 738452bd9f33 tools/check/check_python
--- a/tools/check/check_python
+++ b/tools/check/check_python
@@ -9,5 +9,5 @@ fi
 
 ${PYTHON} -c '
 import sys
-sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
-' || fail "need python version >= 2.2"
+sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 3)
+' || fail "need python version >= 2.3"

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel