- these commands can never have origin=None, so let's prevent them here
raise ValueError(f"Parameter command[]='{type(command)}' is not of type 'str'")
elif command == "":
raise ValueError("Parameter 'command' is empty")
+ elif command in ["fetch_blocks", "fetch_cs", "fetch_bkali", "fetch_relays", "fetch_fedipact", "fetch_joinmobilizon", "fetch_joinmisskey", "fetch_joinfediverse"] and origin is None:
+ raise ValueError("Parameter command='%s' but origin is None, please fix invoking this function.", command)
elif software is None:
try:
logger.debug("Software for domain='%s' is not set, determining ...", domain)