Skip to content

Commit 1314e81

Browse files
committed
Fix lint error
1 parent b3db261 commit 1314e81

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

google/api_core/_python_version_support.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,11 @@ def _get_pypi_package_name(module_name):
173173
# The value is a list of distribution names, take the first one
174174
return module_to_distributions[module_name][0]
175175
except Exception as e:
176-
_LOGGER.info(f"An error occurred while determining PyPI package name for {module_name}: {e}")
176+
_LOGGER.info(
177+
"An error occurred while determining PyPI package name for %s: %s",
178+
module_name,
179+
e,
180+
)
177181

178182
return None
179183

0 commit comments

Comments
 (0)