mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
More realistic example
This commit is contained in:
parent
fecfa90bb2
commit
af2846570c
1 changed files with 2 additions and 1 deletions
|
|
@ -592,7 +592,8 @@ def parse_options(items, section=None):
|
||||||
|
|
||||||
def format_storage_config(cls, header=True):
|
def format_storage_config(cls, header=True):
|
||||||
if header is True:
|
if header is True:
|
||||||
yield '[storage {}]'.format(cls.storage_name)
|
yield '[storage example_for_{}]'.format(cls.storage_name)
|
||||||
|
yield 'type = {}'.format(cls.storage_name)
|
||||||
|
|
||||||
from ..storage.base import Storage
|
from ..storage.base import Storage
|
||||||
from ..utils import get_class_init_specs
|
from ..utils import get_class_init_specs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue