Commit b0454c61 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Fix get_service

parent ad53cc16
......@@ -92,7 +92,7 @@ class Service(models.Model):
if 'vos' in kwargs:
for vo in kwargs['vos']:
if not service.vos.contains(vo):
if not vo in service.vos.all():
LOGGER.info('VO %s now permits use of service %s', vo, service)
service.vos.add(vo)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment