summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Zimniewicz <michzimny@gmail.com>2016-10-09 12:27:23 +0200
committerMichal Zimniewicz <michzimny@gmail.com>2016-10-09 12:27:23 +0200
commit802a205e100b0ab826d56a9091b41a710ec71539 (patch)
tree36683e77291fdb1161f05c93027a71c3377d93a2
parent0a27bbf9ce1f5b1a52bc62ff4d9e5c2f960b030c (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 b0d5847..c201d4b 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 [