Skip to content

Commit 6a28013

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 3b023b7 commit 6a28013

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
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

doc/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Gus Gollings,
9191
Dan Grassi,
9292
Robin Green,
9393
Engelbert Gruber,
94+
Bruce Guenter,
9495
Juergen Hermann,
9596
Uwe Hoffmann,
9697
Tobias Hunger,

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):

roundup/mailgw.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class node. Any parts of other types are each stored in separate files
7272
an exception, the original message is bounced back to the sender with the
7373
explanatory message given in the exception.
7474
75-
$Id: mailgw.py,v 1.159 2004-11-17 22:16:29 richard Exp $
75+
$Id: mailgw.py,v 1.159.2.1 2005-01-03 02:53:41 richard Exp $
7676
"""
7777
__docformat__ = 'restructuredtext'
7878

@@ -845,8 +845,10 @@ def handle_message(self, message):
845845

846846

847847
# set the issue title to the subject
848-
if properties.has_key('title') and not issue_props.has_key('title'):
849-
issue_props['title'] = title.strip()
848+
title = title.strip()
849+
if (title and properties.has_key('title') and not
850+
issue_props.has_key('title')):
851+
issue_props['title'] = title
850852

851853
#
852854
# handle message-id and in-reply-to

0 commit comments

Comments
 (0)