From 2d56ba4bb083a022e7ca28502d23fdf96204b927 Mon Sep 17 00:00:00 2001 From: Ahmed Basem Date: Sat, 12 Aug 2023 19:52:33 +0300 Subject: [PATCH] Update aiida_registry/fetch_metadata.py Co-authored-by: Leopold Talirz --- aiida_registry/fetch_metadata.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aiida_registry/fetch_metadata.py b/aiida_registry/fetch_metadata.py index 70fcc6c1..d7d4e84b 100644 --- a/aiida_registry/fetch_metadata.py +++ b/aiida_registry/fetch_metadata.py @@ -64,9 +64,8 @@ def get_last_fetched_version(plugin_name): return metadata["plugins"][plugin_name]["metadata"]["version"] except KeyError: print("No version for the plugin") - return None - else: - return None + + return None def get_hosted_on(url):