diff options
Diffstat (limited to 'ufo/gluster/swift/common/utils.py')
-rw-r--r-- | ufo/gluster/swift/common/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufo/gluster/swift/common/utils.py b/ufo/gluster/swift/common/utils.py index 7e9f8a60f..f2cd8dea1 100644 --- a/ufo/gluster/swift/common/utils.py +++ b/ufo/gluster/swift/common/utils.py @@ -241,7 +241,7 @@ def _update_list(path, cont_path, src_list, reg_file=True, object_count=0, object_count += 1 - if reg_file: + if Glusterfs._do_getsize and reg_file: bytes_used += os_path.getsize(os.path.join(path, obj_name)) sleep() |