mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
py3k-compatible next() used. Works with 2.6-2.7 as well.
This commit is contained in:
parent
e05e94a129
commit
8bcdb5b1dc
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class Calendar(object):
|
||||||
else:
|
else:
|
||||||
if include_container:
|
if include_container:
|
||||||
result.append(cls(path, principal=True))
|
result.append(cls(path, principal=True))
|
||||||
for f in os.walk(abs_path).next()[2]:
|
for f in next(os.walk(abs_path))[2]:
|
||||||
f_path = os.path.join(path, f)
|
f_path = os.path.join(path, f)
|
||||||
if cls.is_vcalendar(os.path.join(abs_path, f)):
|
if cls.is_vcalendar(os.path.join(abs_path, f)):
|
||||||
result.append(cls(f_path))
|
result.append(cls(f_path))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue