Skip to content

Commit b2f455a

Browse files
committed
Removes incorrectly committed print statements
1 parent 904143f commit b2f455a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sc2reader/processors.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,21 +182,15 @@ def process(self, replay):
182182
return replay
183183

184184
#Remove players from the teams as they drop out of the game
185-
print replay.teams
186-
print replay.players
187185
replay.results = dict([team, len(players)] for team, players in replay.teams.iteritems())
188186

189-
print replay.results
190-
191187
for event in replay.events_by_type['PlayerLeave']:
192188
#Some observer actions seem to be recorded, they aren't on teams anyway
193189
#Their pid will always be higher than the players
194-
print "Player %s has left" % event.pid
195190
if event.pid <= len(replay.players):
196191
team = replay.person[event.pid].team
197192
replay.results[team] -= 1
198193

199-
print replay.results
200194
#mark all teams with no players left as losing, save the rest of the teams
201195
remaining = set()
202196
for team, count in replay.results.iteritems():

0 commit comments

Comments
 (0)