~james-w/tarmac/setsid

« back to all changes in this revision

Viewing changes to tarmac/bin/commands.py

  • Committer: Brad Crittenden
  • Date: 2012-06-29 20:03:55 UTC
  • mto: (398.2.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 402.
  • Revision ID: bac@canonical.com-20120629200355-tda20ibqilmu1ijg
If the path for tree_dir does not exist up to the leaf, create it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
            self.config.set('Tarmac', name, False)
41
41
 
42
42
    def _usage(self):
43
 
        """Custom _usage for referencing "tarmac" instead of "bzr."""
 
43
        """Custom _usage for referencing 'tarmac' instead of 'bzr'."""
44
44
        s = 'tarmac ' + self.name() + ' '
45
45
        for aname in self.takes_args:
46
46
            aname = aname.upper()
306
306
                    "'Approved'".format(entry.queue_status))
307
307
                continue
308
308
 
309
 
            if (not self.config.imply_commit_message and 
 
309
            if (not self.config.imply_commit_message and
310
310
                not entry.commit_message):
311
311
                self.logger.debug(
312
312
                    "  Skipping proposal: proposal has no commit message")