rht
561ba33f69
zerver/lib: Use python 3 syntax for typing.
...
Split by tabbott from a larger commit; this covers a batch of files
with no open PRs touching them.
2017-11-21 20:45:52 -08:00
neiljp (Neil Pilgrim)
7f5b69bca8
mypy: Clarify Callable parameters & return type for get_timing.
2017-10-31 00:02:17 -07:00
rht
2e12fe5e2e
zerver/lib: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
f43e54d352
zerver/lib: Remove absolute_import.
2017-09-27 10:00:39 -07:00
Steve Howell
642e059725
fix_unreads: Add docstring explaining migration use case.
2017-09-07 07:06:03 -07:00
Steve Howell
69203c1c81
fix_unreads: Remove commit() call in fix().
...
The commit() call in fix() breaks migrations and tests (unless you
mock) due to outer transactions.
We now explicitly call commit() from the management command.
2017-09-07 07:06:03 -07:00
Steve Howell
638675cd7e
fix_unreads: Use raw SQL to check topic mutes.
...
Using raw SQL for checking the topic mutes makes it easier
to use the library in a migration.
2017-09-07 07:06:03 -07:00
Steve Howell
8cc8e87daf
fix_unreads: Use logging instead of print.
2017-09-07 07:06:03 -07:00
Steve Howell
a2fe4178be
Extract zerver/lib/fix_unreads.py.
...
This is a pure code move.
2017-09-07 07:06:03 -07:00