Changeset 175:75bfe4725b5b in livinglogic.python.orasql

Show
Ignore:
Timestamp:
09/06/06 19:22:25 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

"Unpack" return values.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/orasql/__init__.py

    r174 r175  
    19061906        result = Record() 
    19071907        for (i, value) in enumerate(realargs): 
    1908             result[self._argsbypos[i].name] = value 
     1908            arginfo = self._argsbypos[i] 
     1909            if arginfo.isout: 
     1910                value = value.getvalue(0) 
     1911            result[arginfo.name] = value 
    19091912        return (returnvalue, result) 
    19101913