Improve string formatting v4 (#33668)

* Improve string formatting v4

* Use normal strings instead of f-strings

* Fix zeroconf test by adding back part of a condition
This commit is contained in:
springstan authored and GitHub committed 2020-04-05 16:01:41 +02:00
1 parent b855177fe6
commit e3bcfb88e7
20 files changed
+43 -47

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ def explore_module(package):
module = importlib.import_module(package)
if not hasattr(module, "__path__"):
return []
for _, name, _ in pkgutil.iter_modules(module.__path__, package + "."):
for _, name, _ in pkgutil.iter_modules(module.__path__, f"{package}."):
yield name