plugins/__init__.py: remove some unused? imports

This commit is contained in:
GLolol 2014-12-22 14:54:12 -05:00
parent f4425de7c5
commit ad0d4481aa

View File

@ -30,12 +30,8 @@
import gc import gc
import os import os
import re
import csv import csv
import sys
import math
import time import time
import random
import fnmatch import fnmatch
import os.path import os.path
import threading import threading
@ -44,16 +40,6 @@ import collections
from .. import callbacks, conf, dbi, ircdb, ircutils, log, utils, world from .. import callbacks, conf, dbi, ircdb, ircutils, log, utils, world
from ..commands import * from ..commands import *
try:
import sqlite3
except ImportError:
raise ImportError('Cannot find sqlite3 module. If you are seeing this '
'message, it means you are running a non-standard Python '
'distribution that has not been compiled with sqlite3 support. '
'Please recompile it with sqlite3 support or report a bug to '
'the maintainer of the python package of your distribution.')
class NoSuitableDatabase(Exception): class NoSuitableDatabase(Exception):
def __init__(self, suitable): def __init__(self, suitable):
self.suitable = suitable self.suitable = suitable