SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2016-04-12 07:31:50 +00:00 committed by Git OBS Bridge
parent 554e557fc4
commit 95336ba97e

View File

@ -67,7 +67,7 @@ Index: rpmlint-1.5/TagsCheck.py
# break # break
+ def split_license_exception(license): + def split_license_exception(license):
+ x, y = license_exception_regex.split(license)[1:3] + x, y = license_exception_regex.split(license)[1:3] or (license, "")
+ return x.strip(), y.strip() + return x.strip(), y.strip()
+ +
def split_license(license): def split_license(license):