Author: justi9
Date: 2007-11-29 12:20:24 -0500 (Thu, 29 Nov 2007)
New Revision: 1396
Removed:
mgmt/mint/bin/parse
Log:
Removes a script that we no longer use.
Deleted: mgmt/mint/bin/parse
===================================================================
--- mgmt/mint/bin/parse 2007-11-29 16:57:57 UTC (rev 1395)
+++ mgmt/mint/bin/parse 2007-11-29 17:20:24 UTC (rev 1396)
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-# generate Python
-echo "Generating Python code..."
-python -c "
-from schemaparser import *
-parser = SchemaParser()
-parser.generateCode()
-"
-
-# generate SQL
-echo "Generating SQL code..."
-
-SQLOUTPUT=schema.sql
-
-PYTHONPATH=. sqlobject-admin sql -m schema > $SQLOUTPUT
-RESULT=`grep "circular reference" $SQLOUTPUT | wc -l`
-if [[ $RESULT -gt 0 ]]; then
- mv $SQLOUTPUT $SQLOUTPUT.1
- tail -n+3 $SQLOUTPUT.1 > $SQLOUTPUT
- rm $SQLOUTPUT.1
-fi
-
-echo "Done."
Show replies by date