From: Leandro Lucarella Date: Sat, 5 Mar 2005 23:53:03 +0000 (+0000) Subject: Manejo de valores booleanos. X-Git-Tag: svn_import~74 X-Git-Url: https://git.llucax.com/software/sercom-old.git/commitdiff_plain/5a00c80191565392f4bdc681274349ea54576e7c Manejo de valores booleanos. --- diff --git a/src/sc_dbq b/src/sc_dbq index 1f1a367..1c90a3f 100755 --- a/src/sc_dbq +++ b/src/sc_dbq @@ -20,6 +20,8 @@ def args2dict(l, conn): for arg in l: key, val = arg.split('=') if val == 'None': val = None + if val == 'True': val = True + if val == 'False': val = False d[key] = val return d