def list_images(self, location=None):
        """
        Returns a list of all package templates aka appiances aka images
        """

        #Make the call
        response = self.connection.request(
            '/rest/hosting/ptemplate/list').parse_body()

        #Turn the response into an array of NodeImage objects
        images = []
        for ptemplate in response['packages']:
            images.append(NodeImage(
                id = ptemplate['uuid'],
                name= (ptemplate['name'], ptemplate['description']) % '%s: %s',
                driver = self,
                ))

        return images
dataset/ETHPy150Open secondstory/dewpoint/libcloud/drivers/ecp.py/ECPNodeDriver.list_images/swapped operands of `%`