| Index: third_party/logilab/common/corbautils.py
|
| diff --git a/third_party/logilab/common/corbautils.py b/third_party/logilab/common/corbautils.py
|
| index 65c301d36fd90bf46d31734e4b594c95d9bb5c6c..8dfb2ba3bb43883aa17e896362dd97feb0f12c42 100644
|
| --- a/third_party/logilab/common/corbautils.py
|
| +++ b/third_party/logilab/common/corbautils.py
|
| @@ -72,7 +72,7 @@ def register_object_name(object, namepath):
|
| name = [CosNaming.NameComponent(id, kind)]
|
| try:
|
| context = context.bind_new_context(name)
|
| - except CosNaming.NamingContext.AlreadyBound as ex:
|
| + except CosNaming.NamingContext.AlreadyBound, ex:
|
| context = context.resolve(name)._narrow(CosNaming.NamingContext)
|
| assert context is not None, \
|
| 'test context exists but is not a NamingContext'
|
| @@ -81,7 +81,7 @@ def register_object_name(object, namepath):
|
| name = [CosNaming.NameComponent(id, kind)]
|
| try:
|
| context.bind(name, object._this())
|
| - except CosNaming.NamingContext.AlreadyBound as ex:
|
| + except CosNaming.NamingContext.AlreadyBound, ex:
|
| context.rebind(name, object._this())
|
|
|
| def activate_POA():
|
|
|