summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
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):