aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2019-10-10 00:18:34 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2019-10-10 00:18:34 +0900
commitef44b87bcca5884f9dba679309599fd4ec9fc35a (patch)
tree280c715c8cddcc676433b3f0c9b333e36e217e03
parent613efdb6470a7105c41216d79d2793d8a4b746fb (diff)
downloadmeta-spdxscanner-ef44b87bcca5884f9dba679309599fd4ec9fc35a.tar.gz
meta-spdxscanner-ef44b87bcca5884f9dba679309599fd4ec9fc35a.tar.bz2
meta-spdxscanner-ef44b87bcca5884f9dba679309599fd4ec9fc35a.zip
Fix a bug.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
-rw-r--r--classes/fossology-rest.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/fossology-rest.bbclass b/classes/fossology-rest.bbclass
index 23c20a4..9d680f6 100644
--- a/classes/fossology-rest.bbclass
+++ b/classes/fossology-rest.bbclass
@@ -393,6 +393,7 @@ def invoke_rest_api(d, tar_file, spdx_file, folder_id):
if analysis(d, folder_id, upload_id) == False:
return False
while i < 10:
+ i += 1
report_id = trigger(d, folder_id, upload_id)
if report_id == False:
return False