Am 07.10.2021 um 12:13 schrieb Stefan Herbrechtsmeier via lists.openembedded.org:
From: Stefan Herbrechtsmeier <stefan.herbrechtsme...@weidmueller.com>

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsme...@weidmueller.com>
---

  scripts/lib/recipetool/create.py | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index e88a4253da..3bcae962a8 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -1105,13 +1105,12 @@ def crunch_license(licfile):
      license = crunched_md5sums.get(md5val, None)
      return license, md5val, lictext
-def guess_license(srctree, d):
+def guess_license(srctree, d, licfiles = []):
      import bb
      md5sums = get_license_md5sums(d)
licenses = []
      licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', 
'[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*', 
'e[dp]l-v10']
-    licfiles = []
      for root, dirs, files in os.walk(srctree):
          for fn in files:
              for spec in licspecs:






Will be dropped in the next version and isn't needed any more.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156738): 
https://lists.openembedded.org/g/openembedded-core/message/156738
Mute This Topic: https://lists.openembedded.org/mt/86148222/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to