Skip to content

Commit

Permalink
added type checks to builtin object constructors and edit methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed May 16, 2000
1 parent 2edd7a1 commit e1d9c1b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SQL.py
Expand Up @@ -85,8 +85,8 @@
__doc__='''SQL Methods
$Id: SQL.py,v 1.12 1999/11/03 14:43:20 brian Exp $'''
__version__='$Revision: 1.12 $'[11:-2]
$Id: SQL.py,v 1.13 2000/05/16 19:34:44 brian Exp $'''
__version__='$Revision: 1.13 $'[11:-2]

import Shared.DC.ZRDB.DA
from Globals import HTMLFile
Expand Down Expand Up @@ -134,6 +134,8 @@ def manage_addZSQLMethod(self, id, title,
The 'template' argument is a string containing the source for the
SQL Template.
"""

# Note - type checking is handled by _setObject and constructor.
self._setObject(id, SQL(id, title, connection_id, arguments, template))
if REQUEST is not None:
u=REQUEST['URL1']
Expand Down

0 comments on commit e1d9c1b

Please sign in to comment.