Merge pull request #3981 from eumiro/py36plus

🚀 Modernize the code to Python 3.6+
This commit is contained in:
Gina Häußge authored and GitHub committed 2021-01-26 10:53:45 +01:00
commit 5e620bcdfe
39 files changed
+93 -111

No files matched your search

+1 -3
View File
@@ -191,9 +191,7 @@ class OctoPrintDevelCommands(click.MultiCommand):
"plugin_source": source,
"plugin_installurl": installurl,
}
options = dict(
(k, v) for k, v in raw_options.items() if v is not None
)
options = {k: v for k, v in raw_options.items() if v is not None}
with custom_cookiecutter_prompt(options):
cookiecutter.main.cookiecutter(