A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-April/026101.html below:

[Python-checkins] python/dist/src/Tools/bgen/bgen bgenType.py,1.8,1.9

[Python-checkins] python/dist/src/Tools/bgen/bgen bgenType.py,1.8,1.9jackjansen@sourceforge.net jackjansen@sourceforge.net
Fri, 12 Apr 2002 06:14:56 -0700
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):






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4