Remove unused lines

This commit is contained in:
flan
2017-10-30 19:56:17 +01:00
parent 39f3ee110d
commit 55bdbfacaa
13 changed files with 2 additions and 54 deletions

View File

@@ -1,11 +1,8 @@
# -*- coding: utf-8 -*-
import os
import shutil
import tempfile
from anki import Collection
from helpers.file_utils import FileUtils

View File

@@ -1,11 +1,8 @@
# -*- coding: utf-8 -*-
import os
import sqlite3
import subprocess
from helpers.file_utils import FileUtils

View File

@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from cStringIO import StringIO
import json
import logging
@@ -12,9 +10,7 @@ import tempfile
import unicodedata
import zipfile
from anki.consts import SYNC_ZIP_SIZE
from anki.utils import checksum
class FileUtils(object):

View File

@@ -1,10 +1,7 @@
# -*- coding: utf-8 -*-
import logging
from anki.sync import HttpSyncer, RemoteServer, RemoteMediaServer, FullSyncer
from anki.sync import HttpSyncer, RemoteServer, RemoteMediaServer
class MockServerConnection(object):

View File

@@ -1,12 +1,9 @@
# -*- coding: utf-8 -*-
import os
import sqlite3 as sqlite
from anki.media import MediaManager
from anki.storage import DB
mediamanager_orig_funcs = {
"findChanges": None,
"mediaChangesZip": None,
@@ -14,7 +11,6 @@ mediamanager_orig_funcs = {
"syncDelete": None
}
db_orig_funcs = {
"__init__": None
}

View File

@@ -1,12 +1,6 @@
# -*- coding: utf-8 -*-
import filecmp
import logging
import os
import ConfigParser
import shutil
from ankisyncd.sync_app import SyncApp, SyncCollectionHandler, SyncMediaHandler
from helpers.file_utils import FileUtils