From c8fd2e2f87b25661e9a81481f22e52967604c595 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 7 May 2013 18:30:17 +0900 Subject: [PATCH] future imports must go at top --- aqt/reviewer.py | 2 +- aqt/sync.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aqt/reviewer.py b/aqt/reviewer.py index d63f077eb..6c8d2e38c 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -2,6 +2,7 @@ # Copyright: Damien Elmes # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +from __future__ import division import difflib, re, cgi import unicodedata as ucd import HTMLParser @@ -12,7 +13,6 @@ from anki.sound import playFromText, clearAudioQueue, play from aqt.utils import mungeQA, getBase, openLink, tooltip from aqt.sound import getAudio import aqt -from __future__ import division class Reviewer(object): "Manage reviews. Maintains a separate state." diff --git a/aqt/sync.py b/aqt/sync.py index 55ac7206a..8fc35003c 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -1,6 +1,7 @@ # Copyright: Damien Elmes # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +from __future__ import division from aqt.qt import * import socket, time, traceback, gc import aqt @@ -9,7 +10,6 @@ from anki.sync import Syncer, RemoteServer, FullSyncer, MediaSyncer, \ RemoteMediaServer from anki.hooks import addHook, remHook from aqt.utils import tooltip, askUserDialog, showWarning, showText, showInfo -from __future__ import division # Sync manager ######################################################################