[Qgis-developer] Python: QgsDataSourceURI.setConnection with SSL

Giuseppe Sucameli brush.tyler at gmail.com
Mon Nov 21 11:30:17 EST 2011


Hi Andreas,

On Mon, Nov 21, 2011 at 4:24 PM, Andreas Neumann <a.neumann at carto.net> wrote:
> pgUri.setConnection("servicename","dbname","username","pw",QgsDataSourceURI.SSLmode.SSLdisable)

it's QgsDataSourceURI.SSLdisable (w/o the enum type name).
Bye.

> Do you know how to correctly set SSL to disable with Python?
>
> Thanks,
> Andreas
>
> --
> --
> Andreas Neumann
> Böschacherstrasse 10A
> 8624 Grüt (Gossau ZH)
> Switzerland
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Giuseppe Sucameli


More information about the Qgis-developer mailing list