equal
deleted
inserted
replaced
33 def transaction(self, *args, **kwargs): |
33 def transaction(self, *args, **kwargs): |
34 _checklock(self) |
34 _checklock(self) |
35 return orig.transaction(self, *args, **kwargs) |
35 return orig.transaction(self, *args, **kwargs) |
36 |
36 |
37 # TODO(durin42): kiilerix had a commented-out lock check in |
37 # TODO(durin42): kiilerix had a commented-out lock check in |
38 # writebranchcache and _writerequirements |
38 # _writebranchcache and _writerequirements |
39 |
39 |
40 def _tag(self, *args, **kwargs): |
40 def _tag(self, *args, **kwargs): |
41 _checklock(self) |
41 _checklock(self) |
42 return orig._tag(self, *args, **kwargs) |
42 return orig._tag(self, *args, **kwargs) |
43 |
43 |