Created
February 2, 2009 08:25
-
-
Save zodman/56833 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conary.conaryclient import ConaryClient | |
cli = ConaryClient() | |
trove_list = cli.db.getTroveList("gimp") | |
for trove in trove_list: | |
print "Info about: %s "% trove.getName() | |
meta_dict = trove.getAllMetadataItems()[0] | |
for key in meta_dict.keys(): | |
m = getattr(meta_dict,key) | |
print "%s : %s" %(key, m() ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment