Commit fcbd728a authored by Nicolas Wavrant's avatar Nicolas Wavrant

notifier: verbose arguments can now be given by the notifier buildout section

parent a22fbe1c
...@@ -90,6 +90,9 @@ class Notify(GenericBaseRecipe): ...@@ -90,6 +90,9 @@ class Notify(GenericBaseRecipe):
parameters.extend(notification_url.split(' ')) parameters.extend(notification_url.split(' '))
parameters.extend(['--executable', executable]) parameters.extend(['--executable', executable])
# For a more verbose mode, writing feed items for any action # For a more verbose mode, writing feed items for any action
instance_root_name = instance_root_name or self.options.get('instance-root-name', None)
log_url = log_url or self.options.get('log-url', None)
status_item_directory = status_item_directory or self.options.get('status-item-directory', None)
if instance_root_name and log_url and status_item_directory: if instance_root_name and log_url and status_item_directory:
parameters.extend([ parameters.extend([
'--instance-root-name', instance_root_name, '--instance-root-name', instance_root_name,
......
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