gitclone: develop is false by default.

parent ab3bdcfb
...@@ -139,10 +139,8 @@ class Recipe(object): ...@@ -139,10 +139,8 @@ class Recipe(object):
if self.git_command == '': if self.git_command == '':
self.git_command = 'git' self.git_command = 'git'
# Set boolean values # Set boolean values
for key in ('use-cache', 'ignore-ssl-certificate'): for key in ('develop', 'use-cache', 'ignore-ssl-certificate'):
setattr(self, key.replace('-', '_'), options.get(key, '').lower() in TRUE_VALUES) setattr(self, key.replace('-', '_'), options.get(key, '').lower() in TRUE_VALUES)
# By default we want to keep the repository
self.develop = options.get(key, 'yes').lower() in TRUE_VALUES
self.networkcache = buildout.get('networkcache', {}) self.networkcache = buildout.get('networkcache', {})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment