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 21:34:45 +0100 |
commit | d6c91c9da1865a29f4db2d4ac3ce3acb6fe4fdba (patch) | |
tree | f630871545607a965191ce69e094f2ea415c0053 | |
parent | a51b3adcc0042b282fb97ece13ac45a9003a99eb (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
@@ -405,8 +405,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:") |