Mercurial > hg > CommitWatcher
changeset 25:a5b4025f2455
commitwatcher/web.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 02 Oct 2013 18:41:59 -0700 |
parents | 60a67934c64e |
children | 6ac606ca9ba5 |
files | commitwatcher/web.py |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
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() - -