s4cmd.py
def delete(self, source):
    '''Thread worker for download operation.'''
    s3url = S3URL(source)

    message('Delete %s', source)
    if not self.opt.dry_run:
      self.s3.delete_object(Bucket=s3url.bucket, Key=s3url.path)
def delete(self, source):
    '''Thread worker for download operation.'''
    s3url = S3URL(source)

    message('Delete %s', source)
    if not self.opt.dry_run:
      self.s3.delete_object(Bucket=s3url.bucket, Key=s3url.path)
def delete ( self , source ) : s3url = S3URL ( source ) message ( 'Delete %s' , source ) if not self . opt . dry_run : self . s3 . delete_object ( Bucket = s3url . bucket , Key = s3url . path )
Thread worker for download operation.
Thread worker for download operation .