list => tuple
This commit is contained in:
parent
d8a6659d73
commit
baa16b6fdf
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class PluginLoader(object):
|
|||
else:
|
||||
suffixes = ['.py', '']
|
||||
|
||||
potential_names = list('%s%s' % (name, s) for s in suffixes)
|
||||
potential_names = tuple('%s%s' % (name, s) for s in suffixes)
|
||||
for full_name in potential_names:
|
||||
if full_name in self._plugin_path_cache:
|
||||
return self._plugin_path_cache[full_name]
|
||||
|
|
Loading…
Reference in a new issue