]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Needed to use httpexceptions here. That class does not exist in exceptions.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 21 Apr 2012 15:01:26 +0000 (11:01 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 21 Apr 2012 15:01:26 +0000 (11:01 -0400)
xonstat/views/submission.py

index 6d5bd5a02fa371f5106b9aa014bd944b29cf4519..631d93b0f3bb3207c46599ea56af761ff5e86348 100755 (executable)
@@ -549,7 +549,7 @@ def stats_submit(request):
 \r
         if not has_required_metadata(game_meta):\r
             log.debug("ERROR: Required game meta missing")\r
-            raise pyramid.exceptions.HTTPUnprocessableEntity("Missing game meta")\r
+            raise pyramid.httpexceptions.HTTPUnprocessableEntity("Missing game meta")\r
 \r
         if not is_supported_gametype(game_meta['G']):\r
             log.debug("ERROR: Unsupported gametype")\r