def interpolate_template(template, context):
    """Interpolate context into a template.

    (i.e. replace things in strings without % replacement).

    Args:
        template (str) : String to fill with context
        context (dict) : Dictionary of variables

    Returns:
        str : Populated template
    """
    populated = template
    for key, value in context.items():
        _key = '{%s}' % key
        populated = populated.replace(_key, str(value))

    return populated