[Python-checkins] python/dist/src/Tools/bgen/bgen bgenType.py,1.8,1.9
jackjansen@sourceforge.net
jackjansen@sourceforge.net
Fri, 12 Apr 2002 06:14:56 -0700
- Previous message: [Python-checkins] python/dist/src configure,1.295,1.296 configure.in,1.305,1.306 pyconfig.h.in,1.27,1.28 acconfig.h,1.62,NONE
- Next message: [Python-checkins] python/dist/src/Tools/bgen/bgen scantools.py,1.25,1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory usw-pr-cvs1:/tmp/cvs-serv9747
Modified Files:
bgenType.py
Log Message:
Give type name when complaining about using input-only type for output
or v.v.
Index: bgenType.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/bgenType.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** bgenType.py 18 Mar 2002 15:24:22 -0000 1.8
--- bgenType.py 12 Apr 2002 13:14:54 -0000 1.9
***************
*** 116,120 ****
def passOutput(self, name):
! raise RuntimeError, "this type can only be used for input parameters"
class InputOnlyType(InputOnlyMixIn, Type):
--- 116,120 ----
def passOutput(self, name):
! raise RuntimeError, "Type '%s' can only be used for input parameters" % self.typeName
class InputOnlyType(InputOnlyMixIn, Type):
***************
*** 127,131 ****
def passInput(self, name):
! raise RuntimeError, "this type can only be used for output parameters"
class OutputOnlyType(OutputOnlyMixIn, Type):
--- 127,131 ----
def passInput(self, name):
! raise RuntimeError, "Type '%s' can only be used for output parameters" % self.typeName
class OutputOnlyType(OutputOnlyMixIn, Type):
- Previous message: [Python-checkins] python/dist/src configure,1.295,1.296 configure.in,1.305,1.306 pyconfig.h.in,1.27,1.28 acconfig.h,1.62,NONE
- Next message: [Python-checkins] python/dist/src/Tools/bgen/bgen scantools.py,1.25,1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]