def validate_app_structure(value):
    """Error if the dict values aren't ints >= 0."""
    try:
        if any(int(v) < 0 for v in value.viewvalues()):
            raise ValueError("Must be greater than or equal to zero")
    except __HOLE__, err:
        raise ValidationError(err)
dataset/ETHPy150Open deis/deis/controller/api/models.py/validate_app_structure