Commit c6e01eb0 authored by Christopher Petrilli's avatar Christopher Petrilli

Modified returned message if the result set is empty to be less

confusing to people.
parent 8c4838db
......@@ -85,8 +85,8 @@
__doc__='''Generic Database Connection Support
$Id: Connection.py,v 1.20 1999/11/03 18:56:34 sroberts Exp $'''
__version__='$Revision: 1.20 $'[11:-2]
$Id: Connection.py,v 1.21 1999/12/29 15:05:34 petrilli Exp $'''
__version__='$Revision: 1.21 $'[11:-2]
import Globals, OFS.SimpleItem, AccessControl.Role, Acquisition, sys
from DateTime import DateTime
......@@ -181,7 +181,7 @@ class Connection(
if result._searchable_result_columns():
r=custom_default_report(self.id, result)
else:
r='This was not a query.'
r='This statement returned no results.'
report=DocumentTemplate.HTML(
'<html><body bgcolor="#ffffff" link="#000099" vlink="#555555">\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment