mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Remove leftovers
This commit is contained in:
parent
998a3884fd
commit
95e81f5383
2 changed files with 1 additions and 5 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue