diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-21 23:58:09 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-28 21:35:02 +0100 |
commit | 6d3ea93eb519b274ccca6da8b1beba5f40298e58 (patch) | |
tree | 9e60a3400699565d2c6648df5b84bdd9473f7af6 | |
parent | d6c91c9da1865a29f4db2d4ac3ce3acb6fe4fdba (diff) |
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 <hauke@hauke-m.de>
-rwxr-xr-x | gentree.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |