aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2021-05-24 17:34:18 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2021-05-24 17:34:18 +0900
commit57c570995307bb998b5ee8cd5d1d0e4b7cf13fce (patch)
tree0b85289c3e3e290ad9ea696b3ebc9240cb5c9f2b
parent62d90ea4a8af1501df1570b32115e8f2fa287d6e (diff)
downloadmeta-spdxscanner-57c570995307bb998b5ee8cd5d1d0e4b7cf13fce.tar.gz
meta-spdxscanner-57c570995307bb998b5ee8cd5d1d0e4b7cf13fce.tar.bz2
meta-spdxscanner-57c570995307bb998b5ee8cd5d1d0e4b7cf13fce.zip
Added delay after create_folder.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
-rw-r--r--classes/fossology-python.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/fossology-python.bbclass b/classes/fossology-python.bbclass
index d587920..bf1fd54 100644
--- a/classes/fossology-python.bbclass
+++ b/classes/fossology-python.bbclass
@@ -160,6 +160,7 @@ python do_upload(){
if d.getVar('FOLDER_NAME', False):
folder_name = d.getVar('FOLDER_NAME')
folder = create_folder(d, foss, token, folder_name)
+ time.sleep(int(d.getVar('WAIT_TIME')))
bb.note("folder = " + folder.name)
else:
folder = foss.rootFolder