Mercurial > mozilla > hg > licenser
view licenser/licenses.py @ 0:b0665b243ccd
initial import of licenser
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 10 May 2010 09:18:26 -0700 |
parents | |
children | cc5add25bf83 |
line wrap: on
line source
from datetime import datetime class MPL(object): """Mozilla Public License""" template = 'MPL' # could be implicit here variables = [ 'author' ] def pre(self, variables): variables['year'] = datetime.now().year