From b1087d646fa93c4208dd227d0c9df323ff7c858b Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 24 Sep 2014 21:06:55 +0200 Subject: Fixed (ICE-5511) - Consider removing the deprecated AMI mapping --- cpp/src/Slice/PythonUtil.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') 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):"; -- cgit v1.2.3