Skip to content

Commit af428b3

Browse files
author
Richard Jones
committed
fix port number as int in mysql connection info [SF#1082530]
1 parent 7c9139a commit af428b3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Fixed:
99
- fix (list) popup (sf bug 1083570)
1010
- fix some security assertions (sf bug 1085481)
1111
- 'roundup-server -S' always writes [trackers] section heading (sf bug 1088878)
12+
- fix port number as int in mysql connection info (sf bug 1082530)
1213

1314

1415
2004-12-08 0.8.0b1

roundup/backends/back_mysql.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def connection_dict(config, dbnamestr=None):
4444
if d.has_key('password'):
4545
d['passwd'] = d['password']
4646
del d['password']
47+
if d.has_key('port'):
48+
d['port'] = int(d['port'])
4749
return d
4850

4951
def db_nuke(config):

0 commit comments

Comments
 (0)