[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7101 - trunk/gnue-appserver/src
From: |
reinhard |
Subject: |
[gnue] r7101 - trunk/gnue-appserver/src |
Date: |
Mon, 7 Mar 2005 01:14:19 -0600 (CST) |
Author: reinhard
Date: 2005-03-07 01:14:11 -0600 (Mon, 07 Mar 2005)
New Revision: 7101
Modified:
trunk/gnue-appserver/src/geasInstance.py
Log:
Don't clean up method object if it hasn't been created yet.
Modified: trunk/gnue-appserver/src/geasInstance.py
===================================================================
--- trunk/gnue-appserver/src/geasInstance.py 2005-03-05 14:03:05 UTC (rev
7100)
+++ trunk/gnue-appserver/src/geasInstance.py 2005-03-07 07:14:11 UTC (rev
7101)
@@ -359,13 +359,16 @@
method = cx.buildFunction (proceduredef.gnue_name,
proceduredef.gnue_code,
parameters)
- result = method (**parameters)
+ try:
+ result = method (**parameters)
+ finally:
+ method._context = None
+
if (proceduredef.gnue_type is None) != (result is None):
if result is not None or not proceduredef.gnue_nullable:
raise ResultTypeError, (proceduredef.fullName,
proceduredef.gnue_type,
result)
finally:
- method._context = None
cx.release ()
return result
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7101 - trunk/gnue-appserver/src,
reinhard <=