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
2020-04-05 16:01:41 +02:00
committed by GitHub
parent b855177fe6
commit e3bcfb88e7
20 changed files with 43 additions and 47 deletions

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