982649 - fixing a python 2.6 incompatibility which caused writing of XML...

... for individual packages to fail.

https://bugzilla.redhat.com/show_bug.cgi?id=982649