mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 10:54:55 -04:00
Bump version of mypy
This commit is contained in:
parent
c965253e4b
commit
495005360c
7 changed files with 12 additions and 7 deletions
|
@ -405,6 +405,9 @@ class LoggingContext(object):
|
|||
"""
|
||||
current = get_thread_resource_usage()
|
||||
|
||||
# Indicate to mypy that we know that self.usage_start is None.
|
||||
assert self.usage_start is not None
|
||||
|
||||
utime_delta = current.ru_utime - self.usage_start.ru_utime
|
||||
stime_delta = current.ru_stime - self.usage_start.ru_stime
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue