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
a339a3ee
Commit
a339a3ee
authored
Jul 31, 2013
by
Stavros Sachtouris
Browse files
Ignore subdir section in file_list
Refs: Bug #4134
parent
45d35927
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/commands/pithos.py
View file @
a339a3ee
...
...
@@ -365,6 +365,8 @@ class file_list(_file_container_command, _optional_json):
pretty_obj
=
obj
.
copy
()
index
+=
1
empty_space
=
' '
*
(
len
(
str
(
len
(
object_list
)))
-
len
(
str
(
index
)))
if
'subdir'
in
obj
:
continue
if
obj
[
'content_type'
]
==
'application/directory'
:
isDir
=
True
size
=
'D'
...
...
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