Bug#487797: python-debian: file arg in Changelog should expect file object

James Westby jw+debian at jameswestby.net
Tue Jun 24 08:58:37 UTC 2008

On Tue, 2008-06-24 at 10:28 +0200, Tilman Koschnick wrote:
> Package: python-debian
> Version: 0.1.10~bpo40+1
> Severity: wishlist
> Tags: patch
> Hi,
> I repeatedly stumble over the 'file' arg to changelog.Changelog(),
> expecting it should be an open file object and not a string. It's just a
> minor thing, but I find 


Thanks for the patch.

I've never been happy with this, it just stems from my inexperience with
python when I wrote it.

I recently renamed the "file" argument to "content" in a branch I am 
working on to try and reduce the confusion, however supporting both
would be better.

I will merge this patch once I have completed work on said branch, 
hopefully today.



More information about the pkg-python-debian-maint mailing list