Re: Using % with psycopg2

2008-12-02 Thread Thomas Guettler
Siah schrieb: > Hi, > > The following code fails on windows, and works just fine on my unix > box. To fix the problem in windows, I must replace('%', '%%') so its > internal string formatting doesn't fail on me. Should I file this bug > for psycopg2? > > from django.db import connection >

Using % with psycopg2

2008-12-01 Thread Siah
Hi, The following code fails on windows, and works just fine on my unix box. To fix the problem in windows, I must replace('%', '%%') so its internal string formatting doesn't fail on me. Should I file this bug for psycopg2? from django.db import connection cursor=connection.cursor()