Misc: Remove dead code.

This commit is contained in:
Valentin Lorentz 2014-01-21 11:48:08 +01:00
parent 5899a2ce23
commit 40e6f789cf

View File

@ -52,12 +52,6 @@ from supybot import commands
from supybot.i18n import PluginInternationalization, internationalizeDocstring
_ = PluginInternationalization('Misc')
def get_suffix(file):
for suffix in imp.get_suffixes():
if file[-len(suffix[0]):] == suffix[0]:
return suffix
return None
def getPluginsInDirectory(directory):
# get modules in a given directory
plugins = []