Commit 13a6b871 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix incompatibility bug with python 2.7 in nested_blockmodel.py

parent e0ff2756
......@@ -436,8 +436,8 @@ class NestedMinimizeState(object):
def clear(self):
self.minimize_state.clear()
self.l = -1
self.bs.clear()
self.done.clear()
del self.bs[:]
del self.done[:]
def sync(self, state):
if len(self.bs) == 0:
......
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