Mercurial > p > mysql-python > mysqldb-2
view make_ER.sh @ 14:7773efbe9b30 MySQLdb
Formatting and PyLint fixes. Final score: 8.21/10
author | adustman |
---|---|
date | Mon, 26 Feb 2007 18:08:28 +0000 |
parents | fa8974a41c76 |
children |
line wrap: on
line source
#!/bin/sh echo '""" MySQL ER Constants ------------------ These constants are error codes for the bulk of the error conditions that may occur. """ __revision__ = "$Revision$"[11:-2] __author__ = "$Author$"[9:-2] ' sed -e 's|/\* \(.*\) \*/|# \1|' -e 's/^#define \(ER_\)*//' -e 's/ \([0-9][0-9]*\)/ = \1/' </usr/include/mysql/mysqld_error.h