diff options
| author | 2019-12-25 09:40:04 -0800 | |
|---|---|---|
| committer | 2020-02-12 10:07:45 -0800 | |
| commit | d059452b94ec8b54bace70852afe1c3b77ce64ff (patch) | |
| tree | 835f97f78a683d2d24ec3d78690c104757956ff8 /tests/helpers.py | |
| parent | Sync: prompt to confirm when diff is greater than 10 (diff) | |
Sync: move sync logic into Syncer base class
The interface was becoming cumbersome to work with so it was all moved
to a single location. Now just calling Syncer.sync() will take care of
everything.
* Remove Optional type annotation from Diff attributes
* _confirm() can edit the original message and use it as the prompt
* Calculate the total diff and compare it against the max before
sending a confirmation prompt
* Remove abort message from sync(); _confirm() will handle that
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions