diff -r 6b31934e5b2e -r 31271426f879 import.py --- a/import.py Mon Aug 23 23:31:38 2004 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#!/usr/bin/python - -import sys -import traceback -sys.path.insert(0, "/home/fabien/lib/python") -sys.path.insert(0, "./lib") -sys.stderr = sys.stdout - -print "Content-type: text/html; charset=iso-8859-1;" -print - -# import cgitb; cgitb.enable() -import cgi -from templates import Template -from os import environ - -def main(): - db = my_db.connect(environ["REMOTE_USER"]) - tmpl = Template("import.tmpl", db.get_preferences()) - print tmpl.process() - -if (__name__ == "__main__"): - main()