Mercurial > kallithea
changeset 3845:0a023c381350 beta
gist cli should convert given paths to basenames
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 12 May 2013 00:26:47 +0200 |
parents | ec64c396da8c |
children | 2576a20d94ca |
files | rhodecode/bin/rhodecode_gist.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/bin/rhodecode_gist.py Sat May 11 23:24:08 2013 +0200 +++ b/rhodecode/bin/rhodecode_gist.py Sun May 12 00:26:47 2013 +0200 @@ -119,7 +119,7 @@ if gist_content and '\0' in gist_content: raise Exception('Error: binary files upload is not possible') - filename = args.filename or filename + filename = os.path.basename(args.filename or filename) if gist_content: files = { filename: {