Skip to content

Commit 784839b

Browse files
author
Richard Jones
committed
Backwards-compatibility aliases for mysql config.
NFI how we can handle postgresql though, since the old-style configuration for it was a single dict with the various values.
1 parent 5ba6fbe commit 784839b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

roundup/configuration.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Roundup Issue Tracker configuration support
22
#
3-
# $Id: configuration.py,v 1.11 2004-07-27 01:18:25 richard Exp $
3+
# $Id: configuration.py,v 1.12 2004-07-27 01:23:50 richard Exp $
44
#
55
__docformat__ = "restructuredtext"
66

@@ -446,15 +446,19 @@ class NullableFilePathOption(NullableOption, FilePathOption):
446446
)),
447447
("rdbms", (
448448
(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']),
450451
(NullableOption, 'host', 'localhost'
451-
"Hostname that the Postgresql or MySQL database resides on."),
452+
"Hostname that the Postgresql or MySQL database resides on.",
453+
['MYSQL_DBHOST']),
452454
(NullableOption, 'port', '5432'
453455
"Port number that the Postgresql or MySQL database resides on."),
454456
(NullableOption, 'user', 'roundup'
455-
"Postgresql or MySQL database user that Roundup should use."),
457+
"Postgresql or MySQL database user that Roundup should use.",
458+
['MYSQL_DBUSER']),
456459
(NullableOption, 'password', 'roundup',
457-
"Password for the Postgresql or MySQL database user."),
460+
"Password for the Postgresql or MySQL database user.",
461+
['MYSQL_DBPASSWORD']),
458462
)),
459463
("logging", (
460464
(FilePathOption, "config", "",

0 commit comments

Comments
 (0)