Mercurial > hg > MakeItSo
comparison makeitso/python.py @ 163:197e7b523a07
wip
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 30 Jul 2013 19:39:34 -0700 |
| parents | 1a419ebe0fe5 |
| children | 6cd2894bb11c |
comparison
equal
deleted
inserted
replaced
| 162:1a419ebe0fe5 | 163:197e7b523a07 |
|---|---|
| 21 from cli import MakeItSoCLI | 21 from cli import MakeItSoCLI |
| 22 from makeitso import ContentTemplate | 22 from makeitso import ContentTemplate |
| 23 from optparse import OptionParser | 23 from optparse import OptionParser |
| 24 from template import MakeItSoTemplate | 24 from template import MakeItSoTemplate |
| 25 from template import Variable | 25 from template import Variable |
| 26 | |
| 26 | 27 |
| 27 class PythonTemplate(MakeItSoTemplate): | 28 class PythonTemplate(MakeItSoTemplate): |
| 28 """abstract base class for python-type templates""" | 29 """abstract base class for python-type templates""" |
| 29 vars = [Variable('description'), | 30 vars = [Variable('description'), |
| 30 Variable('author', 'author of the package'), | 31 Variable('author', 'author of the package'), |
