'Walks the media/static directories and syncs files to S3'

def sync_s3(self):

    (bucket, key) = self.open_s3()
    for directory in self.DIRECTORIES:
        os.path.walk(directory, self.upload_s3, (bucket, key, self.AWS_BUCKET_NAME, directory))
