grim/local-pipelines

64ee896a6c25
Parents 707db01dc23a
Children ba1a782bae24
pipeline: add unused env variable to constructor
--- a/pipelines/pipeline.py Mon Jul 25 23:21:15 2016 -0700
+++ b/pipelines/pipeline.py Tue Jul 26 14:08:45 2016 -0700
@@ -6,11 +6,12 @@
class Pipeline(object):
- def __init__(self, client, config, path, branch):
+ def __init__(self, client, config, path, branch, env=None):
self.client = client
self.config = config
self.build_path = os.path.abspath(path)
self.branch = branch
+ self.env = env or {}
self.steps = self._get_steps()