Revision 4c9918f9

b/snf-tools/synnefo_tools/burnin.py
310 310
                               params, properties)
311 311
        # Get image id
312 312
        details = self.plankton.list_public(detail=True)
313
        detail = filter(
314
            lambda x: x['owner'] == PITHOS_USER and
315
            x['name'] == self.temp_image_name,
316
            details)
313
        detail = filter(lambda x: x['location'] == location, details)
317 314
        self.assertEqual(len(detail), 1)
318 315
        cls = type(self)
319 316
        cls.temp_image_id = detail[0]['id']

Also available in: Unified diff