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/syndicate-HEAD/ms/storage/storage.py   syndicate(Download)
   if volume.owner_id == caller_user.owner_id or caller_user.is_admin:
      # delete the access request...this user cannot create any more gateways
      return VolumeAccessRequest.RemoveAccessRequest( user.owner_id, volume.volume_id )
 
   else:
 
   # delete the volume access request 
   rc = VolumeAccessRequest.RemoveAccessRequest( user.owner_id, volume.volume_id )
   assert rc is True, "Failed to remove access request for %s in %s" % (email, volume.name)