diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-11 10:35:13 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-11 10:35:13 +0000 |
commit | 5758dafb4e8c28ed3a19b352798bac7e3ff619e3 (patch) | |
tree | f6427195438c7e1e076ee4a0124f403a5ad26b1a /synapse/http/server.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into state-chache (diff) | |
parent | Fix bug where variable was not always defined (diff) | |
download | synapse-5758dafb4e8c28ed3a19b352798bac7e3ff619e3.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into state-chache
Diffstat (limited to 'synapse/http/server.py')
-rw-r--r-- | synapse/http/server.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py index 6d084fa33c..589c30c199 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py @@ -113,6 +113,7 @@ class JsonResource(HttpServer, resource.Resource): path. """ code = None + start = self.clock.time_msec() try: # Just say yes to OPTIONS. if request.method == "OPTIONS": @@ -137,8 +138,6 @@ class JsonResource(HttpServer, resource.Resource): request.method, request.path ) - start = self.clock.time_msec() - code, response = yield path_entry.callback( request, *args |