From 25a0e2fe65c73eff587cf1945f30fe130857399c Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Mon, 17 Dec 2007 21:34:39 +0100 Subject: [PATCH] On s'assure que le changelog est bien de l'UTF-8 avant de parser le XML darcs-hash:20071217203439-61eff-2695a205f385a90a13d9dac9b9ae17d16a68a365.gz --- gestion/darcs_send_changes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gestion/darcs_send_changes.py b/gestion/darcs_send_changes.py index fc0e17c8..dacaefcc 100755 --- a/gestion/darcs_send_changes.py +++ b/gestion/darcs_send_changes.py @@ -79,6 +79,7 @@ def get_patch_properties(hash): else: match_cmd = "--last 1" (status, changelog) = darcs("changes %s --xml-output" % match_cmd) + changelog = to_utf8(changelog) if status != 0 or changelog == "": return None prop = etree.XML(changelog)