python - ctl: Comment subsequent non-spaces after value.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - ctl: Comment subsequent non-spaces after value.
Дата
Msg-id 20060507005027.CC90886CCA0@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Comment subsequent non-spaces after value.

In cases where trailing non-space data exists, config would introduce a syntax
error:

    # foo = bar        something that should likely be commented

When 'foo' is set to another value or simply uncommented, it would introduce a
syntax error:

    foo = bar        something that should likely be commented

So, comment post value non-space to produce something that won't cause an error:

    foo = bar        #something that should likely be commented

While config does it's best to touch as little as possible, if it does need to
change something, it is important to make sure that it doesn't render an
erroneous configuration file.

Modified Files:
--------------
    ctl/src:
        config.py (r1.1.1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ctl/src/config.py.diff?r1=1.1.1.1&r2=1.2)
    ctl/test:
        config.py (r1.1.1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ctl/test/config.py.diff?r1=1.1.1.1&r2=1.2)

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add description: * %Disallow changing DEFAULT expression of a
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Use $(LIBS:-lpgport=) rather than $(patsubst -lpgport,, $(LIBS)),