diff options
author | Peter Moody <pmoody@google.com> | 2010-02-02 05:48:18 +0000 |
---|---|---|
committer | Peter Moody <pmoody@google.com> | 2010-02-02 05:48:18 +0000 |
commit | 3bf13eae295aab62a22119d840579b4539524caa (patch) | |
tree | c430f9ea4f0bda910eb9d447389991024a0afcfb /ipaddr.py | |
parent | ea60d28fd78f0750251399f8706101ea33118eff (diff) | |
download | ipaddr-py-3bf13eae295aab62a22119d840579b4539524caa.tar.gz |
+ fix for issue51; an errant reference to a non-existant variable.
(thanks to Harry Bock)
git-svn-id: https://ipaddr-py.googlecode.com/svn/trunk@131 09200d28-7f98-11dd-ad27-0f66e57d2035
Diffstat (limited to 'ipaddr.py')
-rw-r--r-- | ipaddr.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1770,7 +1770,7 @@ class IPv6Network(_BaseV6, _BaseNet): addr = str(address).split('/') if len(addr) > 2: - raise AddressValueError(ipaddr) + raise AddressValueError(address) if not self._is_valid_ip(addr[0]): raise AddressValueError(addr[0]) |