Python 2 fixes

This commit is contained in:
Markus Unterwaditzer 2015-06-16 02:15:57 +02:00
parent 4a17db5864
commit 555e4b688a
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,5 @@
# encoding: utf-8
from textwrap import dedent
from vdirsyncer.cli.utils import repair_storage

View file

@ -666,7 +666,7 @@ def repair_storage(storage):
all_hrefs = list(storage.list())
for i, (href, _) in enumerate(all_hrefs):
item, etag = storage.get(href)
cli_logger.info('[{}/{}] Processing {}'
cli_logger.info(u'[{}/{}] Processing {}'
.format(i, len(all_hrefs), href))
parsed = item.parsed