From f16d79a728b29a445b2292c812dd56c24541c73b Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 25 Jan 2018 15:06:20 +0100 Subject: Import order fixes --- jfr_playoff/data.py | 3 +-- jfr_playoff/db.py | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'jfr_playoff') 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): -- cgit v1.2.3