diff --git a/tests/test_sync.py b/tests/test_sync.py index f5e3265..220cba9 100644 --- a/tests/test_sync.py +++ b/tests/test_sync.py @@ -502,7 +502,6 @@ class SyncMachine(RuleBasedStateMachine): # 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): - old_status = deepcopy(status) sync(a, b, status, force_delete=force_delete, conflict_resolution=conflict_resolution, diff --git a/vdirsyncer/sync.py b/vdirsyncer/sync.py index adaf7af..4a30a18 100644 --- a/vdirsyncer/sync.py +++ b/vdirsyncer/sync.py @@ -11,7 +11,6 @@ Yang. http://blog.ezyang.com/2012/08/how-offlineimap-works/ ''' import itertools import logging -import sys from . import exceptions from .utils import uniq