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-21 23:58:37 +0200 |
commit | 3455026991cda1129ae313830ecd7386f75362a5 (patch) | |
tree | 2de7319d7af521795c14ad7d62c99731e3d26e6e /gentree.py | |
parent | fdda21c96cc00461127a394e22eea3f7cb1119a5 (diff) |
gentree.py: add ending slash to upload path
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>
Diffstat (limited to 'gentree.py')
-rwxr-xr-x | gentree.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -425,6 +425,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)) |