diff options
Diffstat (limited to 'gluster/swift/common/utils.py')
-rw-r--r-- | gluster/swift/common/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gluster/swift/common/utils.py b/gluster/swift/common/utils.py index 11e9140..a10d27f 100644 --- a/gluster/swift/common/utils.py +++ b/gluster/swift/common/utils.py @@ -256,7 +256,7 @@ def update_list(path, cont_path, dirs=[], files=[], object_count=0, object_count, bytes_used = _update_list(path, cont_path, files, True, object_count, bytes_used, obj_list) - if dirs: + if not Glusterfs.OBJECT_ONLY and dirs: object_count, bytes_used = _update_list(path, cont_path, dirs, False, object_count, bytes_used, obj_list) |