Monotone-Revision: 9054022ef1ca8aeba6e34842d27d9b94ce002b89 Monotone-Author: dev-unix.inverse.qc.ca Monotone-Date: 2006-06-15T19:34:10 Monotone-Branch: ca.inverse.sogo
13 lines
236 B
Python
Executable file
13 lines
236 B
Python
Executable file
#!/usr/bin/python
|
|
|
|
import os, sys
|
|
|
|
HOST="localhost"
|
|
USER="agenor"
|
|
DB="blah2"
|
|
|
|
for i in range(920, 10000):
|
|
DB="agenor%i" % ( i, )
|
|
res=os.system("createdb -h %s -U %s %s" % ( HOST, USER, DB ))
|
|
print "%s res: %i" % ( DB, res )
|