[Pkg-ocaml-maint-commits] [SCM] pkglab packaging branch, master, updated. debian/1.4.2-4-33-g219d571

Ralf Treinen treinen at free.fr
Sat Mar 20 08:30:32 UTC 2010


The following commit has been merged in the master branch:
commit 219d5713c87baf802b38a37fa2cbfbb9ad4f41f8
Author: Ralf Treinen <treinen at free.fr>
Date:   Sat Mar 20 09:22:12 2010 +0100

    apply Zack's patch to print non-ascci stanzas (add-sources)

diff --git a/debian/changelog b/debian/changelog
index 088b9fb..8b2d63d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,10 @@ pkglab (1.4.2-9) UNRELEASED; urgency=low
   * Standards-Version 3.8.4 (no change)
   * Escape some more hyphens in edos-debcheck manpage
   * Do not use asterisk to start an entry in edos-distheck.NEWS
+  * add-soucrces.py: Print correctly stanzas containing non-ascii
+    characters (Patch provided by Zack - thanks!)
 
- -- Ralf Treinen <treinen at debian.org>  Fri, 19 Mar 2010 09:39:55 +0100
+ -- Ralf Treinen <treinen at debian.org>  Sat, 20 Mar 2010 09:21:58 +0100
 
 pkglab (1.4.2-8) unstable; urgency=low
 
diff --git a/debian/contrib/add-sources.py b/debian/contrib/add-sources.py
index 2c6c00a..8172ead 100755
--- a/debian/contrib/add-sources.py
+++ b/debian/contrib/add-sources.py
@@ -129,9 +129,8 @@ if not(line.isspace()): print
 for src in deb822.Sources.iter_paragraphs(file(sources_file)):
     if src['Architecture'] in ['any', 'all']:
         pkg = pkg_of_src(src)
-        print pkg
+        print unicode(pkg).encode('utf-8')
     elif architecture in src['Architecture'].split():
         pkg = pkg_of_src(src)
         pkg['Architecture'] = architecture
-        print pkg
-
+        print unicode(pkg).encode('utf-8')

-- 
pkglab packaging



More information about the Pkg-ocaml-maint-commits mailing list