gallium: Avoid using __doc__ in python scripts.

This commit is contained in:
José Fonseca 2010-10-28 17:38:18 +01:00
parent a54ab4960b
commit 5479fa34d9
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
CopyRight = '''
/**************************************************************************
*
* Copyright 2010 VMware, Inc.
@ -89,7 +89,7 @@ def main():
print '/* This file is autogenerated by u_format_srgb.py. Do not edit directly. */'
print
# This will print the copyright message on the top of this file
print __doc__.strip()
print CopyRight.strip()
print
print '#include "u_format_srgb.h"'
print

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
CopyRight = '''
/**************************************************************************
*
* Copyright 2010 VMware, Inc.
@ -83,7 +83,7 @@ def write_format_table(formats):
print '/* This file is autogenerated by u_format_table.py from u_format.csv. Do not edit directly. */'
print
# This will print the copyright message on the top of this file
print __doc__.strip()
print CopyRight.strip()
print
print '#include "u_format.h"'
print '#include "u_format_s3tc.h"'

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
CopyRight = '''
/**************************************************************************
*
* Copyright 2009 VMware, Inc.
@ -510,7 +510,7 @@ def main():
print '/* This file is autogenerated by lp_tile_soa.py from u_format.csv. Do not edit directly. */'
print
# This will print the copyright message on the top of this file
print __doc__.strip()
print CopyRight.strip()
print
print '#include "pipe/p_compiler.h"'
print '#include "util/u_format.h"'