(td)
| 74 | |
| 75 | |
| 76 | def total_seconds(td): |
| 77 | if hasattr(td, 'total_seconds'): |
| 78 | return td.total_seconds() |
| 79 | else: |
| 80 | val = td.microseconds + (td.seconds + td.days * 24 * 3600) * 10 ** 6 |
| 81 | return val / 10 ** 6 |
| 82 | |
| 83 | |
| 84 | class VersionCheckState: |
no outgoing calls
no test coverage detected