summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-01 07:38:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:31 -0500
commitcc2da2ad678e939de63e96134c2102d3732bfc30 (patch)
treec2ac7262394d4d7595d184717bb90049cd321cb4 /source4
parent76a8fe491e568cb97d5ed54de6cb2882574421c1 (diff)
downloadsamba-cc2da2ad678e939de63e96134c2102d3732bfc30.tar.gz
samba-cc2da2ad678e939de63e96134c2102d3732bfc30.tar.bz2
samba-cc2da2ad678e939de63e96134c2102d3732bfc30.zip
r2767: Get rid of some unnecessary %s formatting.
(This used to be commit b63a0ef0d41e6f0fdc6bf46435fb7b81925946da)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/pidl/swig.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/swig.pm b/source4/build/pidl/swig.pm
index 34a1edd268..b3f2107001 100644
--- a/source4/build/pidl/swig.pm
+++ b/source4/build/pidl/swig.pm
@@ -55,12 +55,12 @@ sub ArrayFromPython($$)
}
$result .= "\tif (!PyDict_GetItemString(obj, \"$e->{NAME}\")) {\n";
- $result .= "\t\tPyErr_Format(PyExc_ValueError, \"Expecting key '%s'\", \"$e->{NAME}\");\n";
+ $result .= "\t\tPyErr_Format(PyExc_ValueError, \"Expecting key '$e->{NAME}'\");\n";
$result .= "\t\treturn NULL;\n";
$result .= "\t}\n\n";
$result .= "\tif (!PyList_Check(PyDict_GetItemString(obj, \"$e->{NAME}\"))) {\n";
- $result .= "\t\tPyErr_Format(PyExc_TypeError, \"Expecting list value for key '%s'\", \"$e->{NAME}\");\n";
+ $result .= "\t\tPyErr_Format(PyExc_TypeError, \"Expecting list value for key '$e->{NAME}'\");\n";
$result .= "\t\treturn NULL;\n";
$result .= "\t}\n\n";