def get_license(self):
        '''Get the package license.'''
        if self.package.license and '\n' not in self.package.license and \
        self.package.license.upper() != 'UNKNOWN':
            return self.package.license
        if self.package.license_from_classifiers:
            return self.package.license_from_classifiers
        return "unknown"
dataset/ETHPy150Open badges/pypipins/shields/shields.py/LicenseHandler.get_license/original