Mercurial > hg > MakeItSo
comparison makeitso/cli.py @ 59:93f2b2c7f838
add a comment
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Thu, 06 Jan 2011 16:38:40 -0800 |
| parents | 112bf081148c |
| children | da0d8c5c5157 |
comparison
equal
deleted
inserted
replaced
| 58:112bf081148c | 59:93f2b2c7f838 |
|---|---|
| 53 else: | 53 else: |
| 54 output.append(arg) | 54 output.append(arg) |
| 55 if len(output) != 1: | 55 if len(output) != 1: |
| 56 parser.error("Please specify one output") | 56 parser.error("Please specify one output") |
| 57 | 57 |
| 58 # instantiate the template | |
| 58 template = self.template_class(output=output[0], variables=variables) | 59 template = self.template_class(output=output[0], variables=variables) |
| 59 | 60 |
| 60 return template | 61 return template |
