mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +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
|
||||
_ = 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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user