summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-01-25 15:06:20 +0100
committeremkael <emkael@tlen.pl>2018-01-25 15:06:20 +0100
commitf16d79a728b29a445b2292c812dd56c24541c73b (patch)
tree5f2d9fb2f91324bd93666c9e82a98b096ba389cb /jfr_playoff
parent6f3c01554321885dd61d5f05c4ae5bb8cd77b0c6 (diff)
Import order fixesv1.0.4.1
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/data.py3
-rw-r--r--jfr_playoff/db.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index 51948cd..30862bf 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -1,13 +1,12 @@
-from cached_property import cached_property
from urlparse import urljoin
import mysql
+from cached_property import cached_property
import jfr_playoff.sql as p_sql
from jfr_playoff.db import PlayoffDB
from jfr_playoff.dto import Match, Phase, Team
-
SWISS_TIE_WARNING = 'WARNING: tie detected in swiss %s.' + \
' Make sure to resolve the tie by arranging teams' + \
' in configuration file.'
diff --git a/jfr_playoff/db.py b/jfr_playoff/db.py
index f7efc7c..c96c95c 100644
--- a/jfr_playoff/db.py
+++ b/jfr_playoff/db.py
@@ -1,6 +1,7 @@
-import mysql.connector
import sys
+import mysql.connector
+
class PlayoffDB(object):