--- ../roundup-1.4.19/roundup/cgi/client.py 2011-07-15 09:53:32.000000000 -0400 +++ roundup/cgi/client.py 2012-03-10 19:47:42.751606100 -0500 @@ -359,7 +359,9 @@ """ Wrap the real main in a try/finally so we always close off the db. """ try: - if self.env.get('CONTENT_TYPE') == 'text/xml': + if self.env.get('CONTENT_TYPE') == 'text/xml' and self.path == 'xmlrpc': self.handle_xmlrpc() else: self.inner_main()