summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-08-25 03:36:32 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-08-25 18:01:08 +0530
commite484950a1c73baeddbc5c7d6b56de4dc40ff1df2 (patch)
tree7427454d46c3aed6c7d64edee26e851b09ecfa57
parent893a39678295cb59b440c02cf47c9b80b9ca5e75 (diff)
cerbero: Fix typo in license install function
We need to return an empty array instead of None, else we will fail during installation trying to use a file path called None
-rw-r--r--cerbero/build/recipe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py
index 6dcd9722..4eaf9b55 100644
--- a/cerbero/build/recipe.py
+++ b/cerbero/build/recipe.py
@@ -466,7 +466,7 @@ SOFTWARE LICENSE COMPLIANCE.\n\n'''
'''
if lobj == License.Proprietary:
# No license file needed, binaries will not be publicly redistributed
- return
+ return []
if lobj.acronym.startswith(('BSD', 'MIT')):
msg = '{}.recipe: must specify the license file for BSD and MIT licenses ' \
'using a dict of the form: ' \