Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StoreRepoObject in util/commandline.py fails to handle both repo config object and actual repo objects at the same time #27

Closed
radhermit opened this issue Jan 21, 2015 · 0 comments
Labels

Comments

@radhermit
Copy link
Contributor

Repo config objects are passed when using something like pmaint sync gentoo while raw repo objects are passed when using something such as pinspect eclass_usage gentoo. This causes issues since in once the the aliases attribute is a dict and in the other it's a tuple.

We should either only pass one type of repo object, use similar types of the aliases attribute, or conditionalize the object loading method that tries to iterate over available aliases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant