~mthaddon/mojo/dryrun

« back to all changes in this revision

Viewing changes to mojo/phase.py

  • Committer: Tom Haddon
  • Date: 2018-06-19 14:05:19 UTC
  • Revision ID: tom.haddon@canonical.com-20180619140519-86e0vsw4t19htb99
Pass stage, not stage equals None

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
        logging.debug("### Running phase {} with options {} ###"
250
250
                      "".format(self.name, self.options))
251
251
        logging.info("Building resource tree")
252
 
        collect_output = self.render_collect(project, workspace, stage=None)
 
252
        collect_output = self.render_collect(project, workspace, stage)
253
253
        # Write out our rendered collect for passing to Codetree.
254
254
        with chdir(workspace.build_dir):
255
255
            with tempfile.NamedTemporaryFile() as rendered_collect: