fail_module_cmd.py 315 B

1234567891011
  1. import sys
  2. if __name__ == '__main__':
  3. assert len(sys.argv) == 2, 'Unexpected number of arguments...'
  4. sys.stderr.write(
  5. 'Error: module command for target [[bad]]{}[[rst]] was not executed due to build graph configuration errors...\n'.format(
  6. sys.argv[1]
  7. )
  8. )
  9. sys.exit(1)