File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Pair Section
61
61
sync `` is executed. See also :ref: `collections_tutorial `.
62
62
63
63
The special values ``"from a" `` and ``"from b" ``, tell vdirsyncer to try
64
- autodiscovery on a specific storage. It means all the collections on side A /
64
+ autodiscovery on a specific storage. It means all the collections on side A /
65
65
side B.
66
66
67
67
If the collection you want to sync doesn't have the same name on each side,
@@ -72,7 +72,7 @@ Pair Section
72
72
73
73
Examples:
74
74
75
- - ``collections = ["from b", "foo", "bar"] `` makes vdirsyncer synchronize all
75
+ - ``collections = ["from b", "foo", "bar"] `` makes vdirsyncer synchronize all
76
76
the collections from side B, and also the collections named "foo" and "bar".
77
77
78
78
- ``collections = ["from b", "from a"] `` makes vdirsyncer synchronize all
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ as a file called ``color`` within the calendar folder.
176
176
More information about collections
177
177
----------------------------------
178
178
179
- "Collection" is a collective term for addressbooks and calendars. A Cardav or
180
- Caldav server can contains several "collections" which correspond to several
179
+ "Collection" is a collective term for addressbooks and calendars. A Cardav or
180
+ Caldav server can contains several "collections" which correspond to several
181
181
addressbooks or calendar.
182
182
183
183
Each collection from a storage has a "collection name", a unique identifier for each
Original file line number Diff line number Diff line change 17
17
click_log .basic_config ("vdirsyncer" )
18
18
19
19
# add short option for the help option
20
- click_context_settings = dict ( help_option_names = [ '-h' , ' --help' ])
20
+ click_context_settings = { " help_option_names" : [ "-h" , " --help" ]}
21
21
22
22
23
23
class AppContext :
Original file line number Diff line number Diff line change @@ -181,7 +181,9 @@ def _run_post_hook(self, fpath):
181
181
logger .warning (f"Error executing external hook: { str (e )} " )
182
182
183
183
def _run_pre_deletion_hook (self , fpath ):
184
- logger .info (f"Calling pre_deletion_hook={ self .pre_deletion_hook } with argument={ fpath } " )
184
+ logger .info (
185
+ f"Calling pre_deletion_hook={ self .pre_deletion_hook } with argument={ fpath } "
186
+ )
185
187
try :
186
188
subprocess .call ([self .pre_deletion_hook , fpath ])
187
189
except OSError as e :
You can’t perform that action at this time.
0 commit comments