We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a97936 commit 9af117aCopy full SHA for 9af117a
sopel/plugins/__init__.py
@@ -222,9 +222,6 @@ def get_usable_plugins(settings):
222
(plugin.name, (plugin, is_enabled))
223
for plugin, is_enabled in enumerate_plugins(settings))
224
# reset coretasks's position at the end of the loading queue
225
- # Python 2's OrderedDict does not have a `move_to_end` method
226
- # TODO: replace by plugins_info.move_to_end('coretasks') for Python 3
227
- core_info = plugins_info.pop('coretasks')
228
- plugins_info['coretasks'] = core_info
+ plugins_info.move_to_end('coretasks')
229
230
return plugins_info
0 commit comments