logger.info("Fetching %d different table data ...", len(types))
for software in types:
logger.debug("software='%s' - BEFORE!", software)
+ software = software_helper.alias(software)
+ logger.debug("software='%s' - AFTER!", software)
+
if args.software is not None and args.software != software:
logger.debug("args.software='%s' does not match software='%s' - SKIPPED!", args.software, software)
continue
logger.debug("domain='%s' is already registered - SKIPPED!", domain)
continue
- software = software_helper.alias(software)
logger.info("Fetching instances for domain='%s'", domain)
federation.fetch_instances(domain, None, None, inspect.currentframe().f_code.co_name)
if not isinstance(software, str) and software is not None:
raise ValueError(f"software[]='{type(software)}' is not type 'str'")
+ elif software == "":
+ raise ValueError("Parameter 'software' is empty")
logger.debug("software='%s'- BEFORE!", software)
software = tidyup.domain(software)
logger.debug("Generator for domain='%s' is: '%s'", domain, software)
logger.debug("software[%s]='%s'", type(software), software)
- if software is None:
+ if software is None or software == "":
logger.debug("Returning None - EXIT!")
return None