We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1137b4 commit ecc869cCopy full SHA for ecc869c
google/api_core/_python_version_support.py
@@ -172,11 +172,10 @@ def _get_pypi_package_name(module_name):
172
if module_name in module_to_distributions: # pragma: NO COVER
173
# The value is a list of distribution names, take the first one
174
return module_to_distributions[module_name][0]
175
- else:
176
- return None # Module not found in the mapping
177
except Exception as e:
178
_LOGGER.error("An error occurred: %s", e)
179
- return None
+
+ return None
180
181
182
def _get_distribution_and_import_packages(import_package: str) -> Tuple[str, Any]:
0 commit comments