Mercurial > p > roundup > code
comparison roundup/configuration.py @ 2637:11811b313459
The demo.py script works again using the new configuration system.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 27 Jul 2004 01:59:28 +0000 |
| parents | 943f9d4592b8 |
| children | fd7b2fc1eb28 |
comparison
equal
deleted
inserted
replaced
| 2636:943f9d4592b8 | 2637:11811b313459 |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.12 2004-07-27 01:23:50 richard Exp $ | 3 # $Id: configuration.py,v 1.13 2004-07-27 01:59:28 richard Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import imp | 7 import imp |
| 8 import os | 8 import os |
| 446 )), | 446 )), |
| 447 ("rdbms", ( | 447 ("rdbms", ( |
| 448 (Option, 'name', 'roundup', | 448 (Option, 'name', 'roundup', |
| 449 "Name of the Postgresql or MySQL database to use.", | 449 "Name of the Postgresql or MySQL database to use.", |
| 450 ['MYSQL_DBNAME']), | 450 ['MYSQL_DBNAME']), |
| 451 (NullableOption, 'host', 'localhost' | 451 (NullableOption, 'host', 'localhost', |
| 452 "Hostname that the Postgresql or MySQL database resides on.", | 452 "Hostname that the Postgresql or MySQL database resides on.", |
| 453 ['MYSQL_DBHOST']), | 453 ['MYSQL_DBHOST']), |
| 454 (NullableOption, 'port', '5432' | 454 (NullableOption, 'port', '5432', |
| 455 "Port number that the Postgresql or MySQL database resides on."), | 455 "Port number that the Postgresql or MySQL database resides on."), |
| 456 (NullableOption, 'user', 'roundup' | 456 (NullableOption, 'user', 'roundup', |
| 457 "Postgresql or MySQL database user that Roundup should use.", | 457 "Postgresql or MySQL database user that Roundup should use.", |
| 458 ['MYSQL_DBUSER']), | 458 ['MYSQL_DBUSER']), |
| 459 (NullableOption, 'password', 'roundup', | 459 (NullableOption, 'password', 'roundup', |
| 460 "Password for the Postgresql or MySQL database user.", | 460 "Password for the Postgresql or MySQL database user.", |
| 461 ['MYSQL_DBPASSWORD']), | 461 ['MYSQL_DBPASSWORD']), |
