def list_servers(verbose=False):

    f_path = os.path.join(os.path.expanduser('~'), '.pypirc')
    if os.path.exists(f_path):
        if verbose:
            print('\tpypirc file found.')
    else:
        if verbose:
            print('\tNo pypirc file found.')
            return True

    parser = configparser.ConfigParser()
    parser.read(f_path)
    if parser.has_section('distutils'):
        if parser.has_option(section='distutils', option='index-servers'):
            servers = parser.get(section='distutils', option='index-servers')
            servers = [x.strip() for x in servers.split('\n') if x.strip() != '']
            print('Servers Present in .pypirc File:')
            for s in servers:
                print('\t' + '* ' + s)

            return True

    return False
Number of days in the given month; i.e. '28' to '31'
dataset/ETHPy150Open wdm0006/pypi-publisher/ppp/ppp.py/list_servers--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/dateformat.py/DateFormat.t