~ubuntu-branches/ubuntu/precise/glance/precise-proposed

« back to all changes in this revision

Viewing changes to glance/image_cache/__init__.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Adam Gandleman
  • Date: 2012-01-20 14:37:16 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20120120143716-2va2h1g2230m51zx
Tags: 2012.1~e3~20120120.1206-0ubuntu1
[Chuck Short]
* New upstream release.

[Adam Gandleman]
* debian/glance-api.install, glance-registry.install:  Install
  new paste configs that have been split among servers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
        """
273
273
        return self.driver.open_for_read(image_id)
274
274
 
 
275
    def get_image_size(self, image_id):
 
276
        """
 
277
        Return the size of the image file for an image with supplied
 
278
        identifier.
 
279
 
 
280
        :param image_id: Image ID
 
281
        """
 
282
        return self.driver.get_image_size(image_id)
 
283
 
275
284
    def get_queued_images(self):
276
285
        """
277
286
        Returns a list of image IDs that are in the queue. The