s4cmd.py
def _verify_file_size(self, obj, downloaded_file):
    '''Verify the file size of the downloaded file.'''
    file_size = os.path.getsize(downloaded_file)
    if int(obj['ContentLength']) != file_size:
      raise RetryFailure('Downloaded file size inconsistent: %s' % (repr(obj)))
def _verify_file_size(self, obj, downloaded_file):
    '''Verify the file size of the downloaded file.'''
    file_size = os.path.getsize(downloaded_file)
    if int(obj['ContentLength']) != file_size:
      raise RetryFailure('Downloaded file size inconsistent: %s' % (repr(obj)))
def _verify_file_size ( self , obj , downloaded_file ) : file_size = os . path . getsize ( downloaded_file ) if int ( obj [ 'ContentLength' ] ) != file_size : raise RetryFailure ( 'Downloaded file size inconsistent: %s' % ( repr ( obj ) ) )
Verify the file size of the downloaded file.
Verify the file size of the downloaded file .