On Wednesday 27 March 2002 10:48, Bobby Kuzma wrote:
> Sorry for not including that:
> Webware version: 0.6
> Python version: 2.2
> This script is called via an application().forward command from
> another script. The syntax error seems to pop up on the last line
> of code in the script, before the script can execute.
> from SecurePage import SecurePage
> from casedbHandler import dbBasic
> class commitNarrative(SecurePage):
> def awake(self,trans):
> request = self.request()
> datasource = dbBasic('caseman','postgres','')
> print "Report Date: %s, ID: %s" %
> datasource.st.execute('''update narrative set reportdate='%s'
> where narrativeid=%s''' %
What happens when you replace the '''s with """s?