Mercurial > hg > rlgallery-misc
comparison py/setupdb.py @ 30:e8f3b7994d88
Port to Python 3.
All scripts and modules have been ported to Python 3 and appear to
work. Some changes to the lighttpd configuration were needed.
author | John "Elwin" Edwards |
---|---|
date | Tue, 31 Dec 2013 13:36:19 -0500 |
parents | 5ba2123d2c20 |
children | 25843238434a |
comparison
equal
deleted
inserted
replaced
29:23a769aa487e | 30:e8f3b7994d88 |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python3 |
2 # setupdb.py: initializes the database tables used by the rlg system. | 2 # setupdb.py: initializes the database tables used by the rlg system. |
3 | 3 |
4 import rlgalldb as rlgall | 4 import rlgalldb as rlgall |
5 import psycopg2 | 5 import psycopg2 |
6 | 6 |