etwist/server.py
branchtls-sprint
changeset 1263 01152fffd593
parent 1132 96752791c2b6
parent 1115 1a9e386ebdda
child 1420 25c13e5b12bd
--- a/etwist/server.py	Mon Apr 06 12:37:45 2009 +0200
+++ b/etwist/server.py	Tue Apr 07 09:30:23 2009 +0200
@@ -86,7 +86,7 @@
         if config.repo_method == 'inmemory':
             reactor.addSystemEventTrigger('before', 'shutdown',
                                           self.shutdown_event)
-            # monkey path start_looping_task to get proper reactor integration
+            # monkey patch start_looping_task to get proper reactor integration
             self.appli.repo.__class__.start_looping_tasks = start_looping_tasks
             if config.pyro_enabled():
                 # if pyro is enabled, we have to register to the pyro name
@@ -182,7 +182,7 @@
             # don't allow anonymous on https connection
             return self.request_auth(req)            
         if self.url_rewriter is not None:
-            # XXX should occurs before authentication?
+            # XXX should occur before authentication?
             try:
                 path = self.url_rewriter.rewrite(host, origpath)
             except Redirect, ex: