glapi: Fix whitespace droppings when printing the license header

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2016-03-24 13:57:58 -04:00
parent 1e93b0caa1
commit 7bc5c7f586
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class gl_print_base(object):
% (self.name)
print ''
print '/*'
print ' * ' + self.license.replace('\n', '\n * ')
print (' * ' + self.license.replace('\n', '\n * ')).replace(' \n', '\n')
print ' */'
print ''
if self.header_tag: