Revision 35ac0244

b/snf-cyclades-app/synnefo/plankton/backend.py
444 444

  
445 445
    @handle_backend_exceptions
446 446
    def get_snapshot(self, user, snapshot_uuid):
447
        return self.get_image(snapshot_uuid)
447
        snap = self.get_image(snapshot_uuid)
448
        if snap["is_snapshot"] is False:
449
            raise ImageNotFound
448 450

  
449 451
    @handle_backend_exceptions
450 452
    def delete_snapshot(self, snapshot_uuid):

Also available in: Unified diff