summaryrefslogtreecommitdiff
path: root/py/python/Ice.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-11-03 13:34:58 -0330
committerDwayne Boone <dwayne@zeroc.com>2008-11-03 13:34:58 -0330
commite300e591ba5fe808c5eb82bf51dbe3a83815d3c1 (patch)
tree7e3a9e2052aca8ad71024d6c7ff0823dcf45d186 /py/python/Ice.py
parentBug 3529 - check ice version before esacping properties (diff)
downloadice-e300e591ba5fe808c5eb82bf51dbe3a83815d3c1.tar.bz2
ice-e300e591ba5fe808c5eb82bf51dbe3a83815d3c1.tar.xz
ice-e300e591ba5fe808c5eb82bf51dbe3a83815d3c1.zip
Bug 3377 - fixed getImplicitContext in IcePy
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r--py/python/Ice.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py
index 1682b85b302..2ae870965dc 100644
--- a/py/python/Ice.py
+++ b/py/python/Ice.py
@@ -302,7 +302,11 @@ class CommunicatorI(Communicator):
return self._impl.getDefaultContext()
def getImplicitContext(self):
- return ImplicitContextI(self._impl.getImplicitContext())
+ context = self._impl.getImplicitContext()
+ if context == None:
+ return None;
+ else:
+ return ImplicitContextI(context)
def getProperties(self):
properties = self._impl.getProperties()