]> de.git.xonotic.org Git - xonotic/xonstat.git/commit
Do not die if missing revision metadata.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 14 May 2012 16:55:49 +0000 (12:55 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 14 May 2012 16:55:49 +0000 (12:55 -0400)
commit0a2b6ea372e7f09dda2319af6d330848a2039f2c
tree418fe3c1d67f8ddffccfa6f9fb5c9abf9b177b05
parentfaca5628bc852667b894277ced7c8f6eaaaad646
Do not die if missing revision metadata.

The Xonotic revision metadata comes as a part of the 'R'
line in the POST. Although it isn't required, server was dying
when it was missing. I made it optional now, defaulting
that field to "unkown" when it isn't present. Note: DTG
brought this issue into the light, as they custom compile
their Xonotic, and they omit #ifdef'ing WARPZONE, which
is what prints the 'R' line in stats.
xonstat/views/submission.py