mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Misc: Remove dead code.
This commit is contained in:
parent
5899a2ce23
commit
40e6f789cf
@ -52,12 +52,6 @@ from supybot import commands
|
|||||||
from supybot.i18n import PluginInternationalization, internationalizeDocstring
|
from supybot.i18n import PluginInternationalization, internationalizeDocstring
|
||||||
_ = PluginInternationalization('Misc')
|
_ = 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):
|
def getPluginsInDirectory(directory):
|
||||||
# get modules in a given directory
|
# get modules in a given directory
|
||||||
plugins = []
|
plugins = []
|
||||||
|
Loading…
Reference in New Issue
Block a user