summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-11-27 09:10:12 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-11-27 09:10:12 -0330
commit6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8 (patch)
treea14cf5a11f8e6ff699d0674914cadfa462f58c81 /cpp/src/Slice/PythonUtil.cpp
parent4351 - Move _close & close to FileUtil. (diff)
downloadice-6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8.tar.bz2
ice-6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8.tar.xz
ice-6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8.zip
Reverted commit for bug 3409 - py/rb sequence checking
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp12
1 files changed, 1 insertions, 11 deletions
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();
}