/[edbsilon]/trunk/edbsilon/Tabellen/ersetzeDBName.py
ViewVC logotype

Diff of /trunk/edbsilon/Tabellen/ersetzeDBName.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by ludwig, Fri Sep 3 10:37:33 2004 UTC revision 15 by ludwig, Wed Sep 8 14:48:46 2004 UTC
# Line 6  Line 6 
6  import sys  import sys
7    
8  if len(sys.argv) == 2:  if len(sys.argv) == 2:
9     print "Ersetzte in Tabellen_anlegen.sql jetzt %%%DB%%% durch '" + sys.argv[1]+"'"     print "Ersetzte in create_pg.sql jetzt %%%DB%%% durch '" + sys.argv[1]+"'"
10     datei = open("Tabellen_anlegen.sql","r")     datei = open("create_pg.sql","r")
11     ausgabe = open("tmp.sql","w")     ausgabe = open("tmp.sql","w")
12     SQL_Befehle = datei.read()     SQL_Befehle = datei.read()
13     datei.close()     datei.close()

Legend:
Removed from v.3  
changed lines
  Added in v.15

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26