summaryrefslogtreecommitdiff
path: root/ql/lineup.py
diff options
context:
space:
mode:
authorMichaƂ Zimniewicz <michzimny@users.noreply.github.com>2016-11-25 18:23:01 +0100
committerGitHub <noreply@github.com>2016-11-25 18:23:01 +0100
commit29b99d5e50af876141187c7bdf52d663f3ac0807 (patch)
tree8628229e4a90c60f966de097079b2261e503e07e /ql/lineup.py
parent0a27bbf9ce1f5b1a52bc62ff4d9e5c2f960b030c (diff)
parent70f771d2ab31847333b2c438466fe35895bc24db (diff)
Merge pull request #7 from michzimny/porting_to_python2
Porting to python2
Diffstat (limited to 'ql/lineup.py')
-rw-r--r--ql/lineup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ql/lineup.py b/ql/lineup.py
index b0d5847..688825b 100644
--- a/ql/lineup.py
+++ b/ql/lineup.py
@@ -38,7 +38,7 @@ class TeamInSegment(object):
class HomeTeamInSegment(TeamInSegment):
def __init__(self, *args, **kwargs):
- super().__init__(*args, **kwargs)
+ super(HomeTeamInSegment, self).__init__(*args, **kwargs)
def get_paired_players_fields(self):
return [
@@ -56,7 +56,7 @@ class HomeTeamInSegment(TeamInSegment):
class AwayTeamInSegment(TeamInSegment):
def __init__(self, *args, **kwargs):
- super().__init__(*args, **kwargs)
+ super(AwayTeamInSegment, self).__init__(*args, **kwargs)
def get_paired_players_fields(self):
return [
@@ -95,7 +95,7 @@ class Pair(object):
return 'Team: %s - %s - %s' % (
self.team.name,
self.label,
- [ p.info if p is not None else '<blank>' for p in self.players ]
+ ', '.join([ p.info if p is not None else '<blank>' for p in self.players ])
)
def set_player(self, name):