[rhinstaller/anaconda/pulls/186 master] Add a bunch of gi.require_version calls
dashea
installerbot-noreply at redhat.com
Mon Jul 13 17:46:54 UTC 2015
> Is there any way we could pull a map of these values from constants? Updating them all is going to be a bunch of search and replace.
I guess so, but to me it seems like adding the constants imports is going to crud up the import blocks yet more. The values only change for major versions, so a change would presumably an API change that we'd have to deal with too.
Maybe we could have a method to just do all the imports at once, so before the from gi.repository bits you'd just call iutil.gi_require or something like that?
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/186
More information about the anaconda-patches
mailing list