Last active
August 31, 2016 06:28
-
-
Save ale-rt/d9314ad6dfd811fc8e1c2310da7c901b to your computer and use it in GitHub Desktop.
This file contains 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
[instance] | |
eggs+= | |
${hotfix:eggs} | |
[hotfix] | |
recipe = mr.scripty | |
eggs= | |
from urllib import urlopen | |
version = self.buildout['versions']['Plone'] | |
base_url = 'https://raw.githubusercontent.com/starzel/buildout/master/linkto/hotfixes/%s.cfg' | |
data = urlopen(base_url % version).read() | |
return data.partition('eggs +=')[-1].partition('[versions]')[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment