Correct me if something wrong.

AFAIK, the problem is
 * a last entry on many changelog/news are end with one "\n".
 * apt-listchanges simply joins for each entries.
As result, such entry will be joined by next entry with just one "\n".

I think it can be fixed by making sure that each entries is terminated with 
"\n\n".
Actually, if an entry is not ends with "\n\n", append a "\n", as follow:

--- apt-listchanges-2.79.orig/apt-listchanges/DebianFiles.py 2007-12-06 22:52:59.000000000 +0900 +++ apt-listchanges-2.79/apt-listchanges/DebianFiles.py 2007-12-15 12:41:52.000000000 +0900
@@ -192,6 +192,9 @@
         if not is_debian_changelog:
             return None

+        if not changes.endswith("\n\n"):
+            changes += "\n"
+
         return Changes(self.source, changes, urgency)

     def _changelog_variations(self, filename):


With this patch, a newline is correctly placed for each entries.

I hope it helps,

--
Morita Sho <[EMAIL PROTECTED]>



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to