def get_ami_list(self):
        my_amis = []
        for ami in self.ec2.get_all_images():
            # hack alert, need a better way to do this!
            if ami.location.find('pyami') >= 0:
                my_amis.append((ami.location, ami))
        return my_amis
dataset/ETHPy150Open darcyliu/storyboard/boto/manage/server.py/CommandLineGetter.get_ami_list/original