summaryrefslogtreecommitdiff
path: root/py/python/Ice.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-06-21 16:12:45 -0700
committerMark Spruiell <mes@zeroc.com>2007-06-21 16:12:45 -0700
commitd9de8a8ecb5ab03263696aa89cf3546be0ef93ed (patch)
treee5cb0275241018e28e04d2bb834463cf0dd3a1e8 /py/python/Ice.py
parentbug 2157 - removing clone/ice_hash (diff)
downloadice-d9de8a8ecb5ab03263696aa89cf3546be0ef93ed.tar.bz2
ice-d9de8a8ecb5ab03263696aa89cf3546be0ef93ed.tar.xz
ice-d9de8a8ecb5ab03263696aa89cf3546be0ef93ed.zip
bug 2157 - deprecating LocalObject mapping
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r--py/python/Ice.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py
index 51f3e40a932..e2d1cdf1c02 100644
--- a/py/python/Ice.py
+++ b/py/python/Ice.py
@@ -67,6 +67,9 @@ class Object(object):
#def ice_postUnmarshal(self):
# pass
+#
+# LocalObject is deprecated; use the Python base 'object' type instead.
+#
class LocalObject(object):
pass
@@ -924,8 +927,7 @@ Object._op_ice_ping = IcePy.Operation('ice_ping', OperationMode.Idempotent, Oper
Object._op_ice_ids = IcePy.Operation('ice_ids', OperationMode.Idempotent, OperationMode.Nonmutating, False, (), (), (), _t_StringSeq, ())
Object._op_ice_id = IcePy.Operation('ice_id', OperationMode.Idempotent, OperationMode.Nonmutating, False, (), (), (), IcePy._t_string, ())
-IcePy._t_LocalObject = IcePy.defineClass('::Ice::LocalObject', LocalObject, (), False, None, (), ())
-LocalObject.ice_type = IcePy._t_LocalObject
+IcePy._t_LocalObject = IcePy.defineClass('::Ice::LocalObject', object, (), False, None, (), ())
#
# Annotate Ice::Identity.