X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=1482c54c5ff6c98237dae86e0bd95028924af5ed;hb=7e51081966d19b600fe46de3b88f5ece9fc61f02;hp=dce8a6bbda023553c31f6bd63028a85362d7ed13;hpb=edd8c3fdc0b2239c21552f9b678ff7795f3309c1;p=nepi.git 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(