mypy-friendly compat functions handling

This commit is contained in:
Dima Gerasimov 2020-10-31 02:48:00 +00:00 committed by karlicoss
parent 3a9e3e080f
commit 96be32aa51
2 changed files with 13 additions and 3 deletions

View file

@ -23,7 +23,7 @@ def default_policy() -> Policy:
return cast(Policy, user_config.tz.policy)
except Exception as e:
# todo meh.. need to think how to do this more carefully
# rationale: do not mess with user's data until they want
# rationale: do not mess with user's data unless they want
return 'keep'