]> git.decadent.org.uk Git - dak.git/blobdiff - neve
Partially functionize.
[dak.git] / neve
diff --git a/neve b/neve
index bb8b5f8cee1c25c1e71dc0f16e101e62e018985c..7412fc37de4331cd93770a6300cc1bb8e0b15e75 100755 (executable)
--- a/neve
+++ b/neve
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Populate the DB
-# Copyright (C) 2000  James Troup <james@nocrew.org>
-# $Id: neve,v 1.1.1.1 2000-11-24 00:20:09 troup Exp $
+# Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
+# $Id: neve,v 1.3 2001-03-20 00:28:11 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -317,7 +317,7 @@ def main ():
         sys.exit(2)
     print output
 
-    projectB = pg.connect('projectb', 'localhost', -1, None, None, 'postgres')
+    projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, 'postgres')
       
     db_access.init (Cnf, projectB);