def getPortalTags(portal, itemIDs):
    allTags = []
    for itemID in itemIDs:
        tags = portal.item(itemID).get('tags')
        if tags:
            allTags.extend(tags)
    uniqueTags = list(set(allTags))

    if len(uniqueTags) == 0:
        uniqueTags = None

    return uniqueTags
Forces an HTTP redirect.
dataset/ETHPy150Open Esri/ops-server-config/SupportFiles/GetSDFiles.py/getPortalTags--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/views/views.py/redirect