mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-30 09:45:53 +00:00
Add comment
This commit is contained in:
parent
7418acc42f
commit
cf225cc038
1 changed files with 2 additions and 0 deletions
|
|
@ -439,6 +439,8 @@ class SyncMachine(RuleBasedStateMachine):
|
|||
old_items_b = self._get_items(b)
|
||||
|
||||
try:
|
||||
# If one storage is read-only, double-sync because changes don't
|
||||
# get reverted immediately.
|
||||
for _ in range(2 if a.read_only or b.read_only else 1):
|
||||
sync(a, b, status,
|
||||
force_delete=force_delete,
|
||||
|
|
|
|||
Loading…
Reference in a new issue