mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Python 2 fixes
This commit is contained in:
parent
4a17db5864
commit
555e4b688a
2 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
|
||||||
from textwrap import dedent
|
from textwrap import dedent
|
||||||
|
|
||||||
from vdirsyncer.cli.utils import repair_storage
|
from vdirsyncer.cli.utils import repair_storage
|
||||||
|
|
|
||||||
|
|
@ -666,7 +666,7 @@ def repair_storage(storage):
|
||||||
all_hrefs = list(storage.list())
|
all_hrefs = list(storage.list())
|
||||||
for i, (href, _) in enumerate(all_hrefs):
|
for i, (href, _) in enumerate(all_hrefs):
|
||||||
item, etag = storage.get(href)
|
item, etag = storage.get(href)
|
||||||
cli_logger.info('[{}/{}] Processing {}'
|
cli_logger.info(u'[{}/{}] Processing {}'
|
||||||
.format(i, len(all_hrefs), href))
|
.format(i, len(all_hrefs), href))
|
||||||
|
|
||||||
parsed = item.parsed
|
parsed = item.parsed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue