]> git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Clean up comments.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 22 Apr 2015 10:52:21 +0000 (06:52 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 22 Apr 2015 10:52:21 +0000 (06:52 -0400)
xonstat/views/game.py

index 1bec4b3fce39e9639b2875bbc2b83114dfff9adc..190db833ff9864904bfe346fb6c3246e4d3111ff 100644 (file)
@@ -74,14 +74,9 @@ def _game_info_data(request):
                 filter(PlayerWeaponStat.weapon_cd == Weapon.weapon_cd).\
                 order_by(PlayerWeaponStat.actual.desc()).\
                 all():
-                    print pwstat
-                    print pwstats
                     if pwstat.player_game_stat_id not in pwstats:
                         pwstats[pwstat.player_game_stat_id] = []
 
-                    # NOTE adding pgstat to position 6 in order to display nick.
-                    # You have to use a slice [0:5] to pass to the accuracy
-                    # template
                     pwstats[pwstat.player_game_stat_id].append((weapon.descr,
                         weapon.weapon_cd, pwstat.actual, pwstat.max,
                         pwstat.hit, pwstat.fired, pwstat.frags))