Rob Shortt wrote:
> Hi,
>
> shane wrote:
>> I was not sure if thier is a standard way to read varibles in the
>> local config. For my plugin I used the following method. Is thier a
>> better way to do this?
>
> I can't recall if you can do this in 1.5 but in 2.0/CVS you can do
> something like this in your plugin code to set defaults:
>
>     def config(self):
>         return [('VAR1', 10, 'Description of VAR1, an int.'),
>                 ('VAR2', 'test', 'Description of VAR2, a string.')]

You can also do that wth 1.5.


Dischi

-- 
Important documents will demonstrate their vitality by moving from
where you left them to where you can't find them.

Attachment: pgptM7kU3XbxN.pgp
Description: PGP signature

Reply via email to