##// END OF EJS Templates
Added try/finally
Jonathan Frederic -
Show More
@@ -205,8 +205,10 b' class Connect(object):'
205 205 @contextlib.contextmanager
206 206 def _busy_updating(self):
207 207 self.updating = True
208 yield
209 self.updating = False
208 try:
209 yield
210 finally:
211 self.updating = False
210 212
211 213 def _update(self, name, old, new):
212 214 if self.updating:
General Comments 0
You need to be logged in to leave comments. Login now