HN44 / pywebdav

Automatically exported from code.google.com/p/pywebdav
0 stars 0 forks source link

issue with boolean parameters in config.ini file #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

When I launch pywebdav with config.ini file (pywebdav -c config.ini) all
boolean
value enabled doesn't work.

verbose = 1
noauth = 1
mysql_auth=1
mimecheck = 1
lockemulation = 1
...

because value is interpreted like string variable.

Example :

::

    if handler._config.DAV.lockemulation is False:

handler._config.DAV.lockemulation is a string with "1" value.

This is a patch to fix this issue.

Regards,
Stephane

Original issue reported on code.google.com by klein.stephane on 11 Jul 2009 at 12:36

Attachments:

GoogleCodeExporter commented 8 years ago
ACK - will fix this ASAP

Original comment by spamsch@gmail.com on 14 Jul 2009 at 6:25

GoogleCodeExporter commented 8 years ago

Original comment by klein.stephane on 20 Jul 2009 at 9:09