# HG changeset patch # User Jeff Hammel # Date 1380764519 25200 # Node ID a5b4025f24559e9978d91d3803f9db309042085e # Parent 60a67934c64edda11310ef565f34e8128da4ec81 commitwatcher/web.py diff -r 60a67934c64e -r a5b4025f2455 commitwatcher/web.py --- 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() - -