diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-21 23:43:25 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-28 22:20:17 +0100 |
commit | c0c6e351339ff2f9a0f13e08d432148693c8a923 (patch) | |
tree | b8c75b8064b0e0c5133e261b24cb8ba3bc75c751 | |
parent | 224d33c52f4edf6d13cb5ca37605a6e041598c3a (diff) |
gentree.py: log kup command before executing
Upstream commit: fdda21c96cc00461127a394e22eea3f7cb1119a5
Add a logging of the next command to be executed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-x | gentree.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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:") |