From 750b1ddaf61030b4f7573ccddf0036fada637a78 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 23 Jun 2022 13:35:27 -0700 Subject: [PATCH] NuWeather: import 'plugin' separately PluginDownloader has some buggy heuristics that cause it to run 2to3 when it isn't needed. This is fixed upstream in https://github.com/progval/Limnoria/pull/1509 --- NuWeather/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NuWeather/__init__.py b/NuWeather/__init__.py index b7c7fbc..7a300a3 100644 --- a/NuWeather/__init__.py +++ b/NuWeather/__init__.py @@ -54,7 +54,9 @@ __contributors__ = {} # This is a url where the most recent plugin package can be downloaded. __url__ = 'https://github.com/jlu5/SupyPlugins/tree/master/NuWeather' -from . import config, formatter, plugin, request_cache +from . import config, formatter, request_cache +# plugin is imported separately because plugindownloader before 2022-06-23 has buggy heuristics for running 2to3 +from . import plugin from importlib import reload # In case we're being reloaded. reload(config)