Remove leftovers

This commit is contained in:
Markus Unterwaditzer 2015-01-01 22:04:31 +01:00
parent 998a3884fd
commit 95e81f5383
2 changed files with 1 additions and 5 deletions

View file

@ -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.

View file

@ -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