summaryrefslogtreecommitdiff
path: root/ipaddr.py
diff options
context:
space:
mode:
authorPeter Moody <pmoody@google.com>2010-02-02 05:48:18 +0000
committerPeter Moody <pmoody@google.com>2010-02-02 05:48:18 +0000
commit3bf13eae295aab62a22119d840579b4539524caa (patch)
treec430f9ea4f0bda910eb9d447389991024a0afcfb /ipaddr.py
parentea60d28fd78f0750251399f8706101ea33118eff (diff)
downloadipaddr-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaddr.py b/ipaddr.py
index b248992..dc70592 100644
--- a/ipaddr.py
+++ b/ipaddr.py
@@ -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])