From 44821f1a511b2bffdee66920dd4a5ac262e9eba7 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 21 Apr 2012 11:01:26 -0400 Subject: [PATCH] Needed to use httpexceptions here. That class does not exist in exceptions. --- xonstat/views/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.2