Skip to content

Commit 7200c85

Browse files
author
Richard Jones
committed
couple of bugfixes
1 parent 3149d32 commit 7200c85

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGES.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4+
2004-??-?? 0.7.4
5+
Fixed:
6+
- re-acquire the OTK manager when we re-open the database
7+
- mailgw handler can close the database on us
8+
9+
410
2004-05-28 0.7.3
511
Fixed:
612
- add "checked" to truth values for Boolean input

doc/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Joel Shprentz,
123123
Terrel Shumway,
124124
Emil Sit,
125125
Nathaniel Smith,
126+
Mitchell Surface,
126127
Mike Thompson,
127128
Darryl VanDorp,
128129
J Vickroy.

roundup/cgi/actions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: actions.py,v 1.27.2.2 2004-05-23 23:26:30 richard Exp $
1+
#$Id: actions.py,v 1.27.2.3 2004-05-28 01:03:53 richard Exp $
22

33
import re, cgi, StringIO, urllib, Cookie, time, random
44

@@ -575,6 +575,7 @@ def handle(self):
575575
if self.user != 'admin':
576576
self.client.opendb('admin')
577577
self.db = self.client.db
578+
otks = self.db.getOTKManager()
578579

579580
# change the password
580581
newpw = password.generatePassword()

roundup/scripts/roundup_mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1515
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1616
#
17-
# $Id: roundup_mailgw.py,v 1.15 2004-05-06 01:12:24 richard Exp $
17+
# $Id: roundup_mailgw.py,v 1.15.2.1 2004-05-28 01:03:53 richard Exp $
1818

1919
"""Command-line script stub that calls the roundup.mailgw.
2020
"""
@@ -174,7 +174,7 @@ def main(argv):
174174
return usage(argv, _('Error: The source must be either "mailbox",'
175175
' "pop", "apop", "imap" or "imaps"'))
176176
finally:
177-
db.close()
177+
handler.db.close()
178178

179179
def run():
180180
# time out after a minute if we can

0 commit comments

Comments
 (0)