diff demo.py @ 2633:a9e1fff1e793

I thought I committed this last night. Ho hum. - This implements most of the rest of the new tracker config layout: - dbinit.py split between schema.py and initial_data.py - interfaces.py gone - tracker and detectors __init__.py gone - Added some missing functionality to backends: db_exists test and db_nuke. - Implemented configuration file options in postgresql backend. - Cleaned up tracker initialisation a lot.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 27 Jul 2004 00:57:19 +0000
parents 31cb1014300c
children 11811b313459
line wrap: on
line diff
--- a/demo.py	Tue Jul 27 00:45:49 2004 +0000
+++ b/demo.py	Tue Jul 27 00:57:19 2004 +0000
@@ -2,7 +2,7 @@
 #
 # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net)
 # 
-# $Id: demo.py,v 1.11 2004-05-28 01:09:10 richard Exp $
+# $Id: demo.py,v 1.12 2004-07-27 00:57:17 richard Exp $
 
 import sys, os, string, re, urlparse
 import shutil, socket, errno, BaseHTTPServer
@@ -27,7 +27,7 @@
             module.db_nuke(config)
     elif backend == 'postgresql':
         class config:
-            POSTGRESQL_DATABASE = {'database': 'rounduptest'}
+            POSTGRESQL_DATABASE = 'rounduptest'
             DATABASE = 'home'
         if module.db_exists(config):
             module.db_nuke(config)

Roundup Issue Tracker: http://roundup-tracker.org/