> Yes.  But in general, ConfigParser from Python 3.2 and on defaults to
> crapping out when it finds duplicate keys (which is the parser used by
> PasteDeploy).  So, I have the same problem in my pyramid application when
> I
> run the script to initialize the DB based on the settings in the INI file.
>
> Part of the benefit of an INI file is to have all the configurable options
> in one place.  :)  So, I'd prefer to not have to parse it out if I can
> avoid it.
>

I understand, but it is a configparser problem/choice, there is nothing
"simple" we can do :(

What popup in my mind is defining a "custom option" for the second key:

http://uwsgi-docs.readthedocs.org/en/latest/CustomOptions.html

declare-option = foobar=option1

the annoying thing is that you can only define a single "declare-option"
before configparser complains again.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to