Created
December 1, 2011 13:30
-
-
Save zhangsen/1416742 to your computer and use it in GitHub Desktop.
sample use of conary api
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 import conaryclient, conarycfg | |
from conary.state import ConaryStateFromFile | |
cfg =conarycfg.ConaryConfiguration() | |
client = conaryclient.ConaryClient(cfg) | |
repos = client.getRepos() | |
conaryState = ConaryStateFromFile('CONARY', repos) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment