Commit 0b91fa69 authored by Jérome Perrin's avatar Jérome Perrin Committed by Rafael Monnerat

prevent buildout to log "Unused options for x: md5sum"

option is used, so this warning is incorrect.
parent 70b1d03d
...@@ -290,6 +290,7 @@ class Recipe(object): ...@@ -290,6 +290,7 @@ class Recipe(object):
shutil.rmtree(compile_dir) shutil.rmtree(compile_dir)
os.mkdir(compile_dir) os.mkdir(compile_dir)
try: try:
self.options.get('md5sum') # so that buildout does not complain "unused option md5sum"
opt = self.options.copy() opt = self.options.copy()
opt['destination'] = compile_dir opt['destination'] = compile_dir
opt['strip-top-level-dir'] = 'false' opt['strip-top-level-dir'] = 'false'
......
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