From: Ant Zucaro Date: Sat, 21 Apr 2012 15:01:26 +0000 (-0400) Subject: Needed to use httpexceptions here. That class does not exist in exceptions. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=44821f1a511b2bffdee66920dd4a5ac262e9eba7;p=xonotic%2Fxonstat.git Needed to use httpexceptions here. That class does not exist in exceptions. --- diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 6d5bd5a..631d93b 100755 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -549,7 +549,7 @@ def stats_submit(request): if not has_required_metadata(game_meta): log.debug("ERROR: Required game meta missing") - raise pyramid.exceptions.HTTPUnprocessableEntity("Missing game meta") + raise pyramid.httpexceptions.HTTPUnprocessableEntity("Missing game meta") if not is_supported_gametype(game_meta['G']): log.debug("ERROR: Unsupported gametype")