From 95e81f538394b1545f66cb090480b4b9c442b0df Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 1 Jan 2015 22:04:31 +0100 Subject: [PATCH] Remove leftovers --- docs/config.rst | 4 ---- vdirsyncer/storage/singlefile.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index ea7b1ef..6e79ce4 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -66,10 +66,6 @@ Pair Section pointing to one collection each. Specifying a collection multiple times won't make vdirsyncer sync that collection more than once. - If any collections don't exist, vdirsyncer will try to create them or raise - an error, depending on the storages' configuration (see the ``create`` - parameter for some storages). - Furthermore, there are the special values ``"from a"`` and ``"from b"``, which tell vdirsyncer to try autodiscovery on a specific storage. diff --git a/vdirsyncer/storage/singlefile.py b/vdirsyncer/storage/singlefile.py index 705e9b6..4d50516 100644 --- a/vdirsyncer/storage/singlefile.py +++ b/vdirsyncer/storage/singlefile.py @@ -99,7 +99,7 @@ class SingleFileStorage(Storage): text = f.read().decode(self.encoding) except OSError as e: import errno - if e.errno != errno.ENOENT or not self.create: # file not found + if e.errno != errno.ENOENT: # file not found raise IOError(e) text = None