From: Hauke Mehrtens Date: Mon, 21 Oct 2013 21:43:25 +0000 (+0200) Subject: gentree.py: log kup command before executing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fdda21c96cc00461127a394e22eea3f7cb1119a5;p=openwrt%2Fstaging%2Fblogic.git gentree.py: log kup command before executing Add a logging of the next command to be executed. Signed-off-by: Hauke Mehrtens --- diff --git a/gentree.py b/gentree.py index d101bdb4cae4..cb5431d195c8 100755 --- a/gentree.py +++ b/gentree.py @@ -423,8 +423,10 @@ def upload_release(args, rel_prep, logwrite=lambda x:None): for path in rel_prep['paths_to_create']: korg_path += '/' + path if (not args.kup_test): + logwrite("create directory: %s" % korg_path) logwrite(kup.mkdir(korg_path)) if (not args.kup_test): + logwrite("upload file %s to %s" % (bzip2_name, korg_path)) logwrite(kup.put(bzip2_name, tar_name + '.asc', korg_path)) logwrite("\nFinished upload!\n") logwrite("Target path contents:")