Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/backend.py   synnefo(Download)
        disk_name = gnt_disk.get("name", None)
        if disk_name is not None:
            disk_id = utils.id_from_disk_name(disk_name)
        else:  # Unknown disk
            disk_id = UNKNOWN_DISK_PREFIX + str(index)

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/volume/management/commands/volume-import.py   synnefo(Download)
        # Check that the instance disk is not already a Cyclades Volume
        try:
            disk_id = utils.id_from_disk_name(disk["name"])
        except:
            pass