diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-08-25 03:36:32 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-08-26 10:20:58 +0300 |
commit | eb84ec14e6bb3bfc62dfa9899d615b156d2b6715 (patch) | |
tree | 7e0bebb7b7043c06cbe325ce66139a1870e9f4bd | |
parent | 85916d1dab4f2392952fb78069565b310514a96c (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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py index d5d5a933..6d3fd3d2 100644 --- a/cerbero/build/recipe.py +++ b/cerbero/build/recipe.py @@ -463,7 +463,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: ' \ |