Try to avoid an error probably associated with empty package licenses
This commit is contained in:
parent
98e493f6e0
commit
119b814877
2 changed files with 5 additions and 2 deletions
|
|
@ -32,5 +32,7 @@
|
||||||
'(license_ids)
|
'(license_ids)
|
||||||
(vector-map
|
(vector-map
|
||||||
(lambda (_ license-ids)
|
(lambda (_ license-ids)
|
||||||
(list (sort license-ids <)))
|
(if (= 0 (vector-length license-ids))
|
||||||
|
(list (cons "integer[]" license-ids))
|
||||||
|
(list (sort license-ids <))))
|
||||||
license-id-lists)))
|
license-id-lists)))
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,8 @@
|
||||||
#f)
|
#f)
|
||||||
("License 2"
|
("License 2"
|
||||||
#f
|
#f
|
||||||
#f))))
|
#f))
|
||||||
|
()))
|
||||||
|
|
||||||
(with-postgresql-connection
|
(with-postgresql-connection
|
||||||
"test-model-license-set"
|
"test-model-license-set"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue