From 6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Fri, 27 Nov 2009 09:10:12 -0330 Subject: Reverted commit for bug 3409 - py/rb sequence checking --- cpp/src/Slice/PythonUtil.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 482bd3ccd36..c1d8cb26d96 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -1317,21 +1317,11 @@ Slice::Python::CodeVisitor::visitSequence(const SequencePtr& p) } else { - TypePtr type = p->type(); _out << nl << "_M_" << getAbsolute(p, "_t_") << " = IcePy.defineSequence('" << scoped << "', "; writeMetaData(metaData); _out << ", "; writeType(p->type()); - _out << ", "; - if(type->isVariableLength()) - { - _out << "True"; - } - else - { - _out << "False"; - } - _out << ", " << type->minWireSize() << ")"; + _out << ")"; } _out.dec(); } -- cgit v1.2.3