From 7e51081966d19b600fe46de3b88f5ece9fc61f02 Mon Sep 17 00:00:00 2001 From: Alina Quereilhac Date: Mon, 24 Oct 2011 12:44:57 +0200 Subject: [PATCH] setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dce8a6bb..1482c54c 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ try: l.reverse() if sum( int(l[i])*pow(10,i) for i in xrange(len(l))) < 217: raise RuntimeError("ipaddr >= 2.1.7 is required") -except: +except ImportError: raise RuntimeError("ipaddr >= 2.1.7 is required. You can download from http://ipaddr-py.googlecode.com/files/ipaddr-2.1.7.tar.gz") setup( -- 2.47.0