Add a logging of the next command to be executed.
Signed-off-by: Hauke Mehrtens <[email protected]>
---
gentree.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gentree.py b/gentree.py
index d101bdb..cb5431d 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:")
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html