diff commitwatcher/web.py @ 25:a5b4025f2455

commitwatcher/web.py
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Oct 2013 18:41:59 -0700
parents bdc039cb1f2e
children
line wrap: on
line diff
--- a/commitwatcher/web.py	Wed Oct 02 13:13:38 2013 -0700
+++ b/commitwatcher/web.py	Wed Oct 02 18:41:59 2013 -0700
@@ -8,8 +8,8 @@
 
 class Handler(object):
 
-    def __init__(self, **kw):
-        pass
+    def __init__(self, repository, **kw):
+        self.repository = repository
 
     def __call__(self, environ, start_response):
         request = Request(environ)
@@ -22,5 +22,3 @@
     app = Handler()
     server = simple_server.make_server(host='0.0.0.0', port=8080, app=app)
     server.serve_forever()
-          
-