From ee9b89ffbf9e38bd3918a312fff2893b90065ab8 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Tue, 22 May 2007 23:17:22 +0000 Subject: fixing facet bug with uncheckedCast --- cpp/src/Slice/PythonUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') 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(); -- cgit v1.2.3