Objet : devel-adl
Archives de la liste
- From: svn AT agendadulibre.org
- To: devel AT agendadulibre.org
- Subject: [Devel] r449 - scripts
- Date: Fri, 7 Aug 2009 20:24:11 +0200 (CEST)
- List-archive: <http://agendadulibre.org/pipermail/devel>
- List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>
Author: thomas
Date: Fri Aug 7 20:24:07 2009
New Revision: 449
Log:
Correction de problèmes d'encodage.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni AT free-electrons.com>
Modified:
scripts/gulls2sql.py
Modified: scripts/gulls2sql.py
==============================================================================
--- scripts/gulls2sql.py Fri Aug 7 20:04:42 2009 (r448)
+++ scripts/gulls2sql.py Fri Aug 7 20:24:07 2009 (r449)
@@ -46,8 +46,9 @@
self.url = url
def genSQL(self):
- print "insert into lugs (region, department, city, name, url) values
('%s', '%s', '%s', '%s', '%s');" \
- % (str(self.region), self.department, self.city, self.name,
self.url)
+ sql = u"insert into lugs (region, department, city, name, url)
values ('%s', '%s', '%s', '%s', '%s');" \
+ % (str(self.region), self.department, self.city, self.name,
self.url)
+ print sql.encode('utf-8')
def getNodeText(node):
- [Devel] r449 - scripts, svn, 07/08/2009
Archives gérées par MHonArc 2.6.16.