Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Make the app helper required only if no global one is specified #7

merged 1 commit into from

2 participants

Matt Dietz Sandy Walsh
Matt Dietz

No description provided.

Sandy Walsh SandyWalsh merged commit 086f911 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 1 deletion.
  1. +6 −1 tach/
7 tach/
@@ -192,7 +192,12 @@ def __init__(self, config, label, items, **kwargs):
# Other important configuration values
required = set(['module', 'method', 'metric'])
- attrs = set(['notifier', 'app', 'app_helper']) | required
+ attrs = set(['notifier', 'app']) | required
+ # if there's a global helper set, we don't require a local one
+ if not self._app_helper:
+ attrs.add('app_helper')
for attr in attrs:
setattr(self, '_' + attr, None)
self.additional = {}
Something went wrong with that request. Please try again.