summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Zimniewicz <michzimny@gmail.com>2016-10-09 12:27:23 +0200
committeremkael <emkael@tlen.pl>2016-11-25 22:10:17 +0100
commitee4f35076b048162c87059d08425b6280776ec09 (patch)
treedafd48fb566c32b643cfde09165438e9767d41c5
parent62dca92a29e746d7dabf04ad7bea6931fa0e7ad7 (diff)
adjust super() calls to python2
-rw-r--r--ql/lineup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ql/lineup.py b/ql/lineup.py
index 5a2ce82..cca69e5 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 [