Creates folders

    :param locations:
        A list of folders to create (can be a dictionary, see note below)
    :param verbose:
        Warn if any folders were created

    .. note::

        * |params_locations_dict|
        * |param_locations_none|

def make_locations(locations=None, verbose=True):
    '''
    Creates folders

    :param locations:
        A list of folders to create (can be a dictionary, see note below)
    :param verbose:
        Warn if any folders were created

    .. note::

        * |params_locations_dict|
        * |param_locations_none|
    '''

    from photon.util.structures import to_list
    from photon.util.system import shell_notify

    if not locations:
        locations = get_locations().values()
    locations = to_list(locations)

    r = list()
    for p in reversed(sorted(locations)):
        if not _path.exists(p):
            _makedirs(p)
            r.append(p)
    if verbose and r:
        shell_notify('path created', state=None, more=r)
    return r