equal
deleted
inserted
replaced
379 return self.repo.system_source.undo_transaction(self, txuuid) |
379 return self.repo.system_source.undo_transaction(self, txuuid) |
380 |
380 |
381 # life cycle handling #################################################### |
381 # life cycle handling #################################################### |
382 |
382 |
383 def __enter__(self): |
383 def __enter__(self): |
384 assert self._open is None # first opening |
384 assert not self._open |
385 self._open = True |
385 self._open = True |
386 self.cnxset = self.repo._get_cnxset() |
386 self.cnxset = self.repo._get_cnxset() |
387 return self |
387 return self |
388 |
388 |
389 def __exit__(self, exctype=None, excvalue=None, tb=None): |
389 def __exit__(self, exctype=None, excvalue=None, tb=None): |