Minor typo fixes

This commit is contained in:
Guillaume Ayoub 2011-06-16 10:40:30 +02:00
parent 1d67706b56
commit 21d435b560
2 changed files with 3 additions and 3 deletions

View File

@ -166,8 +166,8 @@ class Application(object):
content = None content = None
# Find calendar(s) # Find calendar(s)
items = ical.Calendar.from_path(environ["PATH_INFO"], items = ical.Calendar.from_path(
environ.get("HTTP_DEPTH", "0")) environ["PATH_INFO"], environ.get("HTTP_DEPTH", "0"))
# Get function corresponding to method # Get function corresponding to method
function = getattr(self, environ["REQUEST_METHOD"].lower()) function = getattr(self, environ["REQUEST_METHOD"].lower())

View File

@ -210,7 +210,7 @@ class Calendar(object):
if cls.is_vcalendar(os.path.join(abs_path, filename)): if cls.is_vcalendar(os.path.join(abs_path, filename)):
result.append(cls(os.path.join(path, filename))) result.append(cls(os.path.join(path, filename)))
except StopIteration: except StopIteration:
# directory does not exist yet # Directory does not exist yet
pass pass
else: else:
calendar = cls(path) calendar = cls(path)