comparison py/cleandb.py @ 33:25843238434a

Change the Python module's name back to rlgall. It is no longer an experimental variant. Using a database as a backend is a settled feature.
author John "Elwin" Edwards
date Thu, 02 Jan 2014 13:09:48 -0500
parents e8f3b7994d88
children
comparison
equal deleted inserted replaced
32:05a4afbe6299 33:25843238434a
1 #!/usr/bin/python3 1 #!/usr/bin/python3
2 # cleandb.py: empty the database in an orderly fashion 2 # cleandb.py: empty the database in an orderly fashion
3 3
4 import rlgalldb as rlgall 4 import rlgall
5 import psycopg2 5 import psycopg2
6 6
7 dbconn = psycopg2.connect("dbname=rlg") 7 dbconn = psycopg2.connect("dbname=rlg")
8 dbcur = dbconn.cursor() 8 dbcur = dbconn.cursor()
9 9