summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index bfdf33a7b8d..21f8ccd2f9c 100644
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -737,34 +737,6 @@ Slice::Python::CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
_out.inc();
_out << nl << "return _M_" << abs << "._op_" << (*oli)->name() << ".end(self, _r)";
_out.dec();
-
- //
- // Old AMI operations.
- //
- if(p->hasMetaData("ami") || (*oli)->hasMetaData("ami"))
- {
- _out << sp;
- if(!comment.empty())
- {
- _out << nl << comment;
- }
- _out << nl << "def " << (*oli)->name() << "_async(self, _cb";
- if(!inParams.empty())
- {
- _out << ", " << inParams;
- }
- _out << ", _ctx=None):";
- _out.inc();
-
- _out << nl << "return _M_" << abs << "._op_" << (*oli)->name() << ".invokeAsync(self, (_cb, ("
- << inParams;
- if(!inParams.empty() && inParams.find(',') == string::npos)
- {
- _out << ", ";
- }
- _out << "), _ctx))";
- _out.dec();
- }
}
_out << sp << nl << "def checkedCast(proxy, facetOrCtx=None, _ctx=None):";