(self)
| 31 | return super().__call__(func) |
| 32 | |
| 33 | def __enter__(self): |
| 34 | if EMPROFILE == 2: |
| 35 | indentation = ' ' * Logger.depth |
| 36 | logger.info('%sstart block "%s"', indentation, self.name) |
| 37 | Logger.depth += 1 |
| 38 | self.start = time.time() |
| 39 | |
| 40 | def __exit__(self, exc_type, value, traceback): |
| 41 | # When a block ends debug log the total duration. |
nothing calls this directly
no outgoing calls
no test coverage detected