Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
707c1a4a
Commit
707c1a4a
authored
Jan 17, 2013
by
Stavros Sachtouris
Browse files
store upload uses basename if remote name msing
parent
8249ee0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/commands/pithos_cli.py
View file @
707c1a4a
...
...
@@ -935,7 +935,7 @@ class store_upload(_store_container_command):
def
main
(
self
,
local_path
,
container____path__
):
super
(
self
.
__class__
,
self
).
main
(
container____path__
)
remote_path
=
self
.
path
if
self
.
path
else
local_path
remote_path
=
self
.
path
if
self
.
path
else
path
.
basename
(
local_path
)
poolsize
=
self
[
'poolsize'
]
if
poolsize
>
0
:
self
.
client
.
POOL_SIZE
=
int
(
poolsize
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment