Modified:
trunk/src/deseb/backends/mysql.py
Log:
fixed 't'/'f' mixmatch in quote_value()
Modified: trunk/src/deseb/backends/mysql.py
==============================================================================
--- trunk/src/deseb/backends/mysql.py (original)
+++ trunk/src/deseb/backends/mysql.py Wed Sep 3 13:56:35 2008
@@ -6,8 +6,8 @@
def quote_value(self, s):
if type(s) is bool:
- if s: return "'f'"
- else: return "'t'"
+ if s: return "'t'"
+ else: return "'f'"
if type(s) is int:
return str(s)
else: