Commit 823dc3fd authored by Jonathan Michalon's avatar Jonathan Michalon

Accept options in Checks.add()

parent 2d1caec3
......@@ -18,8 +18,8 @@ class Host(object):
class Checks(list):
def add(self, check, dests):
self += [check(d) for d in dests]
def add(self, check, dests, **options):
self += [check(d, **options) for d in dests]
class Check(object):
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