Mercurial > mozilla > hg > licenser
comparison tests/doctest.txt @ 21:80193ae99aaf
fill out asterisk-style licenses
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 24 Nov 2011 15:10:25 -0800 |
parents | c04a53145f19 |
children | d3e3a506dd29 |
comparison
equal
deleted
inserted
replaced
20:272e10163900 | 21:80193ae99aaf |
---|---|
13 | 13 |
14 Test MPL license:: | 14 Test MPL license:: |
15 | 15 |
16 >>> license = licenses.MPL() | 16 >>> license = licenses.MPL() |
17 >>> variables = {'author': 'Jeff Hammel', 'email': 'k0s@k0s.org'} | 17 >>> variables = {'author': 'Jeff Hammel', 'email': 'k0s@k0s.org'} |
18 >>> variables = license.obtain_variables(**variables) | |
18 >>> license.interpolate(directory, variables) | 19 >>> license.interpolate(directory, variables) |