s4cmd.py
def print_files(self, source):
    '''Print out a series of files'''
    sources = self.source_expand(source)

    for source in sources:
      s3url = S3URL(source)
      response = self.s3.get_object(Bucket=s3url.bucket, Key=s3url.path)
      message('%s', response['Body'].read())
def print_files(self, source):
    '''Print out a series of files'''
    sources = self.source_expand(source)

    for source in sources:
      s3url = S3URL(source)
      response = self.s3.get_object(Bucket=s3url.bucket, Key=s3url.path)
      message('%s', response['Body'].read())
def print_files ( self , source ) : sources = self . source_expand ( source ) for source in sources : s3url = S3URL ( source ) response = self . s3 . get_object ( Bucket = s3url . bucket , Key = s3url . path ) message ( '%s' , response [ 'Body' ] . read ( ) )
Print out a series of files
Print out a series of files