aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpki/resource_set.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-10-16 22:51:18 +0000
committerRob Austein <sra@hactrn.net>2007-10-16 22:51:18 +0000
commit6ce933a32fda56860bc9ca05d2553255a820a635 (patch)
tree3631e4b9677cf67fd4e8189fa9d0bf7233f9b45e /scripts/rpki/resource_set.py
parentbdf73f5360327b4e70b5e9bf81f7853b35a41463 (diff)
Formatting
svn path=/scripts/rpki/cms.py; revision=1163
Diffstat (limited to 'scripts/rpki/resource_set.py')
-rw-r--r--scripts/rpki/resource_set.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rpki/resource_set.py b/scripts/rpki/resource_set.py
index d176e70a..3436398c 100644
--- a/scripts/rpki/resource_set.py
+++ b/scripts/rpki/resource_set.py
@@ -103,7 +103,8 @@ def _rsplit(rset, that):
"""Split a resource range into two resource ranges."""
this = rset.pop(0)
cell_type = type(this.min)
- assert type(this) is type(that) and type(this.max) is cell_type and type(that.min) is cell_type and type(that.max) is cell_type
+ assert type(this) is type(that) and type(this.max) is cell_type and \
+ type(that.min) is cell_type and type(that.max) is cell_type
if this.min < that.min:
rset.insert(0, type(this)(this.min, cell_type(that.min - 1)))
rset.insert(1, type(this)(that.min, this.max))