Remove unused lines
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
|
||||
|
||||
from anki import Collection
|
||||
from helpers.file_utils import FileUtils
|
||||
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
import os
|
||||
import sqlite3
|
||||
import subprocess
|
||||
|
||||
|
||||
from helpers.file_utils import FileUtils
|
||||
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user