Example #1
0
 def formattedPartSize(self):
     if not hasattr(self, '_formattedPartSize'):
         self._formattedPartSize = cli.format_filesize(self._partSize, 0)
     return self._formattedPartSize
Example #2
0
 def formattedFileSize(self):
     if not hasattr(self, '_formattedFileSize'):
         self._formattedFileSize = cli.format_filesize(self._fileSizeBytes)
     return self._formattedFileSize