On Sun, 2008-02-03 at 14:19 +0100, Tim Lauridsen wrote:
> Today if you run the attached test script, you will get this output.
> 
> [EMAIL PROTECTED] yum]$ sudo python ~/yum-repr-test.py
> [<yum.packages.YumInstalledPackage object at 0xb73c56c>]
> [<yum.sqlitesack.YumAvailablePackageSqlite object at 0xb73dbcc>]
> 
> after adding the attached patch you will get this output.
> 
> [EMAIL PROTECTED] yum]$ cp ~/yum-repr-test.py .
> [EMAIL PROTECTED] yum]$ sudo python ./yum-repr-test.py
> [<Installed Package : yumex-2.0.3-2.fc8.noarch >]
> [<Available Package : yumex-2.0.3-2.fc8.noarch (updates) >]
> 
> much more informative, very useful wen debugging yum and running in the 
> interactive python console.
> 
> Anybody have any objections to adding this patch.

 Not an objection as such, but could you add id() as well, just so we
can guarantee uniqueness.

-- 
James Antill <[EMAIL PROTECTED]>
Red Hat

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to