Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0036cba commit da70485Copy full SHA for da70485
1 file changed
Tools/bgen/bgen/bgenType.py
@@ -115,7 +115,7 @@ class InputOnlyMixIn:
115
"Mix-in class to boobytrap passOutput"
116
117
def passOutput(self, name):
118
- raise RuntimeError, "this type can only be used for input parameters"
+ raise RuntimeError, "Type '%s' can only be used for input parameters" % self.typeName
119
120
class InputOnlyType(InputOnlyMixIn, Type):
121
@@ -126,7 +126,7 @@ class OutputOnlyMixIn:
126
"Mix-in class to boobytrap passInput"
127
128
def passInput(self, name):
129
- raise RuntimeError, "this type can only be used for output parameters"
+ raise RuntimeError, "Type '%s' can only be used for output parameters" % self.typeName
130
131
class OutputOnlyType(OutputOnlyMixIn, Type):
132
0 commit comments