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
50165863
Commit
50165863
authored
Apr 11, 2013
by
Stavros Sachtouris
Browse files
Make --public and --sharing to work in upload
Bug #3509
parent
08aad6db
Changes
3
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/commands/pithos_cli.py
View file @
50165863
...
...
@@ -331,7 +331,6 @@ class store_list(_store_container_command):
'format to parse until data (default: d/m/Y H:M:S )'
,
'--format'
),
shared
=
FlagArgument
(
'show only shared'
,
'--shared'
),
public
=
FlagArgument
(
'show only public'
,
'--public'
),
more
=
FlagArgument
(
'output results in pages (-n to set items per page, default 10)'
,
'--more'
),
...
...
kamaki/clients/pithos/__init__.py
View file @
50165863
...
...
@@ -394,6 +394,8 @@ class PithosClient(PithosRestClient):
hashmap
=
True
,
content_type
=
content_type
,
json
=
hashmap
,
permissions
=
sharing
,
public
=
public
,
success
=
201
)
# download_* auxiliary methods
...
...
kamaki/clients/pithos/rest_api.py
View file @
50165863
...
...
@@ -660,8 +660,6 @@ class PithosRestClient(StorageClient):
{ 'read':[user1, group1, user2, ...],
'write':['user3, group2, group3, ...] }
:param permissions: update permissions
:param public: (bool) If true, Object is publicly accessible
:param metadata: (dict) Optional user defined metadata in the form
...
...
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