Skip to content
Snippets Groups Projects
Commit c6ccea90 authored by Stuart Gathman's avatar Stuart Gathman
Browse files

Fix exception test case

parent eea110d1
Branches
Tags
No related merge requests found
......@@ -65,7 +65,9 @@ def iniplist(ipaddr,iplist):
>>> iniplist('2001:610:779:0:223:6cff:fe9a:9cf3',['127.0.0.1','172.20.1.0/24','2001:610:779::/48'])
True
>>> iniplist('2G01:610:779:0:223:6cff:fe9a:9cf3',['127.0.0.1','172.20.1.0/24','2001:610:779::/48'])
True
Traceback (most recent call last):
...
ValueError: Invalid ip syntax:2G01:610:779:0:223:6cff:fe9a:9cf3
"""
if ip4re.match(ipaddr):
ipnum = addr2bin(ipaddr)
......
[bdist_rpm]
python=python2.4
python=python2.6
doc_files=README NEWS TODO
packager=Stuart D. Gathman <stuart@bmsi.com>
release=1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment