From 3cf33e5efe6b81a55899d510fbb726c9b35d94c7 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 1 Oct 2016 19:09:27 +0200 Subject: [PATCH] Stylefix --- tests/test_sync.py | 1 - vdirsyncer/sync.py | 1 - 2 files changed, 2 deletions(-) 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