From 6d3ea93eb519b274ccca6da8b1beba5f40298e58 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 21 Oct 2013 23:58:09 +0200 Subject: gentree.py: add ending slash to upload path Upstream commit: 3455026991cda1129ae313830ecd7386f75362a5 the filename in kup put should end with a slash otherwise it tried to overwrite this file. Signed-off-by: Hauke Mehrtens --- gentree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gentree.py b/gentree.py index f05e445e..e92ba2e3 100755 --- a/gentree.py +++ b/gentree.py @@ -407,6 +407,7 @@ def upload_release(args, rel_prep, logwrite=lambda x:None): if (not args.kup_test): logwrite("create directory: %s" % korg_path) logwrite(kup.mkdir(korg_path)) + 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)) -- cgit v1.2.3