typos
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 13 Mar 2009 11:07:47 +0100
changeset 1115 1a9e386ebdda
parent 1114 b91c7a7e8cb0
child 1116 163e6a65d488
typos
etwist/server.py
--- a/etwist/server.py	Fri Mar 13 11:07:16 2009 +0100
+++ b/etwist/server.py	Fri Mar 13 11:07:47 2009 +0100
@@ -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: