On Sun, Nov 25, 2018 at 4:06 AM Vaclav Petras wrote:
>
>
>
> On Sat, Nov 24, 2018 at 9:58 PM Vaclav Petras
wrote:
>>
>>
>> On Sat, Nov 24, 2018 at 5:54 AM Markus Metz <
markus.metz.gisw...@gmail.com> wrote:
>>>
>>>
>>>
>>> On Thu, Nov 22, 2018 at 11:33 PM Vaclav Petras
wrote:
>>>
>>> > That's al
On Sat, Nov 24, 2018 at 9:58 PM Vaclav Petras wrote:
>
> On Sat, Nov 24, 2018 at 5:54 AM Markus Metz
> wrote:
>
>>
>>
>> On Thu, Nov 22, 2018 at 11:33 PM Vaclav Petras
>> wrote:
>>
>> > That's all correct. There would have to be more to make it the same
>> procedure as in grass.py, but eventual
On Sat, Nov 24, 2018 at 5:54 AM Markus Metz
wrote:
>
>
> On Thu, Nov 22, 2018 at 11:33 PM Vaclav Petras
> wrote:
>
> > That's all correct. There would have to be more to make it the same
> procedure as in grass.py, but eventually we need to do that.
> >
> > What I meant to add it to grass.script
On Thu, Nov 22, 2018 at 11:33 PM Vaclav Petras wrote:
>
>
>
> On Thu, Nov 22, 2018 at 10:57 AM Markus Metz <
markus.metz.gisw...@gmail.com> wrote:
>>
>>
>>
>> On Thu, Nov 22, 2018 at 3:31 PM Vaclav Petras
wrote:
>> >
>> >
>> >
>> > On Wed, Nov 21, 2018 at 2:12 PM Martin Landa
wrote:
>> >>
>> >>
On Thu, Nov 22, 2018 at 10:57 AM Markus Metz
wrote:
>
>
> On Thu, Nov 22, 2018 at 3:31 PM Vaclav Petras
> wrote:
> >
> >
> >
> > On Wed, Nov 21, 2018 at 2:12 PM Martin Landa
> wrote:
> >>
> >> Hi,
> >>
> >> st 21. 11. 2018 v 20:05 odesílatel napsal:
> >> > +# clean the sqlite db
> >> >
On Thu, Nov 22, 2018 at 3:31 PM Vaclav Petras wrote:
>
>
>
> On Wed, Nov 21, 2018 at 2:12 PM Martin Landa
wrote:
>>
>> Hi,
>>
>> st 21. 11. 2018 v 20:05 odesílatel napsal:
>> > +# clean the sqlite db
>> > +from grass.script import db as gdb
>> > +from grass.script import
On Wed, Nov 21, 2018 at 2:12 PM Martin Landa wrote:
> Hi,
>
> st 21. 11. 2018 v 20:05 odesílatel napsal:
> > +# clean the sqlite db
> > +from grass.script import db as gdb
> > +from grass.script import core as gcore
> > +conn = gdb.db_connection()
> > +if
Hi,
st 21. 11. 2018 v 20:05 odesílatel napsal:
> +# clean the sqlite db
> +from grass.script import db as gdb
> +from grass.script import core as gcore
> +conn = gdb.db_connection()
> +if conn and conn['driver'] == 'sqlite':
> + # check if db exis