summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-05-22 23:17:22 +0000
committerMark Spruiell <mes@zeroc.com>2007-05-22 23:17:22 +0000
commitee9b89ffbf9e38bd3918a312fff2893b90065ab8 (patch)
tree640f3880ba9435c9ba73ab4c1f0d0bba499d50ab /cpp/src
parentfixing facet bug with uncheckedCast (diff)
downloadice-ee9b89ffbf9e38bd3918a312fff2893b90065ab8.tar.bz2
ice-ee9b89ffbf9e38bd3918a312fff2893b90065ab8.tar.xz
ice-ee9b89ffbf9e38bd3918a312fff2893b90065ab8.zip
fixing facet bug with uncheckedCast
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index 426ceff6949..9815b210aea 100644
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -675,7 +675,7 @@ Slice::Python::CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
_out.dec();
_out << nl << "checkedCast = staticmethod(checkedCast)";
- _out << sp << nl << "def uncheckedCast(proxy, facet=''):";
+ _out << sp << nl << "def uncheckedCast(proxy, facet=None):";
_out.inc();
_out << nl << "return _M_" << abs << "Prx.ice_uncheckedCast(proxy, facet)";
_out.dec();