Closed bu-bgregor closed 5 months ago
in "is_module_published" check the length of the stderr for the return value:
return len(result.stderr) > 0
For argument checking, set the -c flag to be required as it provided the name of the module to check:
argParser.add_argument("-c", "--check", type=str, help="the name of module to be checked", required=True )
and then the if statement that checks if it's set can be removed.
in "is_module_published" check the length of the stderr for the return value:
For argument checking, set the -c flag to be required as it provided the name of the module to check:
and then the if statement that checks if it's set can be removed.