Small glitch and a simple question

Johannes Ranke jranke at uni-bremen.de
Sat Dec 16 01:42:16 CET 2006


Hi all,

I am quite new to python, but I want to use it to automate a packaging 
task. Changelog() almost works for me :)

There is a parse error caused by the following line in a changelog


 -- Douglas Bates <bates at stat.wisc.edu>  Fri, 8 Oct 1999 10:04:55 -0500

which should rather read

 -- Douglas Bates <bates at stat.wisc.edu>  Fri,  8 Oct 1999 10:04:55 -0500
                                              ^ 

Yes, the difference is the whitespace here... If Changelog() could
tolerate this, it would make it more bullet-proof, although of course I
can find a workaround.

Another question I have that might sound stupid: If I have a modified
changelog, how do I write it to the file? I only found

print changelog

in the example, but I can't write the object to a file.

Thanks for the nice work!

Johannes



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