Jelajahi Sumber

Minor typo fixes

Guillaume Ayoub 14 tahun lalu
induk
melakukan
21d435b560
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      radicale/__init__.py
  2. 1 1
      radicale/ical.py

+ 2 - 2
radicale/__init__.py

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

+ 1 - 1
radicale/ical.py

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