Ejemplo n.º 1
0
def indexRedirect(version):
    try:
        isCurrentVersion = Version.isCurrentVersion(version)
    except TypeError:  # malformed "version string"
        raise exceptions.PathNotFoundException()
    if isCurrentVersion:
        return index()
    else:
        raise exceptions.PathNotFoundException()
Ejemplo n.º 2
0
def pathNotFoundHandler(errorString):
    return handleException(exceptions.PathNotFoundException())
Ejemplo n.º 3
0
def searchReferences(version):
    raise exceptions.PathNotFoundException()
Ejemplo n.º 4
0
def getReferenceSet(version, id):
    raise exceptions.PathNotFoundException()