aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/app/range_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/gui/app/range_list.py')
-rwxr-xr-xrpki/gui/app/range_list.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpki/gui/app/range_list.py b/rpki/gui/app/range_list.py
index 21fd1f29..5cb4f5e4 100755
--- a/rpki/gui/app/range_list.py
+++ b/rpki/gui/app/range_list.py
@@ -70,6 +70,7 @@ class RangeList(list):
def difference(self, other):
"""Return a RangeList object which contains ranges in this object which
are not in "other"."""
+
it = iter(other)
try:
@@ -85,6 +86,7 @@ class RangeList(list):
def V(v):
"""convert the integer value to the appropriate type for this
range"""
+
return x.__class__.datum_type(v)
try: