Searched refs:license_file (Results 1 – 1 of 1) sorted by relevance
127 def grep_license_keyword(license_file): argument129 with open(license_file, "r") as input_file:132 return License(LicenseType.APACHE2, license_file)134 return License(LicenseType.MIT, license_file)136 return License(LicenseType.BSD_LIKE, license_file)137 print("ERROR: cannot decide license type in", license_file,139 return License(LicenseType.BSD_LIKE, license_file)166 license_file = None167 for license_file in glob.glob("LICENSE*"):168 lowered_name = license_file.lower()[all …]