- txt = txt + sep+ str(val)
- if len(txt) > 200:
- #ligne trop longue, on tronque
- txt=txt+" ..."
- break
+ if isinstance(val,tuple):
+ texteVal='('
+ for i in val :
+ if isinstance(i, bytes) : texteVal = texteVal +"'"+str(i)+"',"
+ else : texteVal = texteVal + str(i)+','
+ texteVal=texteVal[:-1]+')'
+ else :
+ if isinstance(val,bytes): texteVal="'"+str(val)+"'"
+ else :texteVal=str(val)
+ txt = txt + sep+ texteVal
+
+## if len(txt) > 200:
+## #ligne trop longue, on tronque
+## txt=txt+" ..."
+## break