diff licenser/licenses.py @ 12:697b6f892e12

get this working in basic form
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 23 Nov 2011 13:56:35 -0800
parents a8ad01735f71
children c324ae5317ab
line wrap: on
line diff
--- a/licenser/licenses.py	Tue Nov 22 17:41:21 2011 -0800
+++ b/licenser/licenses.py	Wed Nov 23 13:56:35 2011 -0800
@@ -149,7 +149,7 @@
             contributor_index = index
 
     assert contributor_index
-    lines[contibutor_index] = '  ${author} <${email}>'
+    lines.insert(contributor_index+1, '  ${author} <${email}>')
     return '\n'.join(lines)
 
   def pre(self, variables):