Commit c488934f authored by Martin Reinecke's avatar Martin Reinecke
Browse files

simplification

parent 5abc2f5a
......@@ -105,10 +105,7 @@ class MultiDomain(object):
@property
def size(self):
size = 0
for dom in self._domains:
size += dom.size
return size
return sum(dom.size for dom in self._domains)
def __str__(self):
res = "MultiDomain:\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment