Revision e16b1958 flowspec/views.py
b/flowspec/views.py | ||
---|---|---|
471 | 471 |
|
472 | 472 |
def lookupShibAttr(attrmap, requestMeta): |
473 | 473 |
for attr in attrmap: |
474 |
if attr in requestMeta:
|
|
474 |
if (attr in requestMeta) & (len(requestMeta[attr]) > 0):
|
|
475 | 475 |
return requestMeta[attr] |
476 | 476 |
return '' |
Also available in: Unified diff