Skip to content

Commit ba3204d

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 6ca08e7 commit ba3204d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ are given with the most recent entry first.
55
Fixed:
66
- extra CRs in CSV export files on Windows platform (sf bug 1195742)
77
- activity RDBMS columns were being reported in changes
8+
- fix name collision in roundup.cgi script (sf bug 1203795)
89

910

1011
2005-05-02 0.8.3

cgi-bin/roundup.cgi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: roundup.cgi,v 1.40.2.1 2005-04-13 06:11:14 richard Exp $
19+
# $Id: roundup.cgi,v 1.40.2.2 2005-05-18 05:40:43 richard Exp $
2020

2121
# python version check
2222
from roundup import version_check
@@ -159,19 +159,19 @@ def main(out, err):
159159
else:
160160
tracker_home = TRACKER_HOMES[tracker]
161161
tracker = roundup.instance.open(tracker_home)
162-
from roundup.cgi import client
162+
import roundup.cgi.client
163163
if hasattr(tracker, 'Client'):
164164
client = tracker.Client(tracker, request, os.environ)
165165
else:
166-
client = client.Client(tracker, request, os.environ)
166+
client = roundup.cgi.client.Client(tracker, request, os.environ)
167167
try:
168168
client.main()
169-
except client.Unauthorised:
169+
except roundup.cgi.client.Unauthorised:
170170
request.send_response(403)
171171
request.send_header('Content-Type', 'text/html')
172172
request.end_headers()
173173
out.write('Unauthorised')
174-
except client.NotFound:
174+
except roundup.cgi.client.NotFound:
175175
request.send_response(404)
176176
request.send_header('Content-Type', 'text/html')
177177
request.end_headers()

0 commit comments

Comments
 (0)