Skip to content

Instantly share code, notes, and snippets.

@zodman
Created February 2, 2009 08:25
Show Gist options
  • Save zodman/56833 to your computer and use it in GitHub Desktop.
Save zodman/56833 to your computer and use it in GitHub Desktop.
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