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