diff options
author | José Fonseca <[email protected]> | 2010-10-28 17:38:18 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-10-28 17:38:18 +0100 |
commit | 5479fa34d9acebd55f68c23a278cf382d0e84248 (patch) | |
tree | 76e186724e3314e1ff4bede748eb24339968c5fb /src/gallium/auxiliary/util | |
parent | a54ab4960b86839f73e7c16fdde00670a67ee80e (diff) |
gallium: Avoid using __doc__ in python scripts.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_format_srgb.py | 4 | ||||
-rwxr-xr-x | src/gallium/auxiliary/util/u_format_table.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/util/u_format_srgb.py b/src/gallium/auxiliary/util/u_format_srgb.py index 3e8000f3687..cd63ae78919 100644 --- a/src/gallium/auxiliary/util/u_format_srgb.py +++ b/src/gallium/auxiliary/util/u_format_srgb.py @@ -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 diff --git a/src/gallium/auxiliary/util/u_format_table.py b/src/gallium/auxiliary/util/u_format_table.py index f0b407b8b8e..8cc22a56371 100755 --- a/src/gallium/auxiliary/util/u_format_table.py +++ b/src/gallium/auxiliary/util/u_format_table.py @@ -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"' |