Permalink
Browse files

Hopefully solve issue https://bugs.launchpad.net/collective.buildout/…

  • Loading branch information...
1 parent 7073ff1 commit de8a655bd48ab60fd210cd9ac3eb7def7385a7d9 silviot committed Oct 5, 2010
Showing with 6 additions and 1 deletion.
  1. +4 −1 buildout.cfg
  2. +2 −0 plone/recipe/haproxy/__init__.py
View
@@ -4,4 +4,7 @@ parts = test
[test]
recipe = zc.recipe.testrunner
-eggs = plone.recipe.haproxy
+eggs =
+ plone.recipe.haproxy
+ zope.testing
+defaults = ['-s', 'plone.recipe.haproxy']
@@ -30,6 +30,8 @@ def __init__(self, buildout, name, options):
self.download_cache = buildout['buildout'].get('download-cache')
self.install_from_cache = buildout['buildout'].get(
'install-from-cache')
+ if isinstance(self.install_from_cache, (str, unicode)):
+ self.install_from_cache = self.install_from_cache.lower() == 'true'
if self.download_cache:
# cache keys are hashes of url, to ensure repeatability if the

0 comments on commit de8a655

Please sign in to comment.