forked from pool/rpmlint
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=383
This commit is contained in:
parent
554e557fc4
commit
95336ba97e
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user