Commit 696fed33 authored by Pablo Panero's avatar Pablo Panero
Browse files

Edit change method get_user_provides to

parent 16da1409
......@@ -2,10 +2,3 @@
# -*- coding: utf-8 -*-
"""Helper methods for CERN Search records."""
from flask import g
def get_user_provides():
"""Extract the user's provides from g."""
return [need.value for need in g.identity.provides]
\ No newline at end of file
Supports Markdown
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