(self, timeout=None)
| 70 | if func.__name__ != 'wrap': |
| 71 | |
| 72 | def wrap(self, timeout=None): |
| 73 | try: |
| 74 | result = func(self, timeout=timeout or 3600) |
| 75 | except TimeoutError as te: |
| 76 | raise ScanCodeTimeoutError() from te |
| 77 | return result |
| 78 | |
| 79 | return wrap |
| 80 | else: |
nothing calls this directly
no test coverage detected