summaryrefslogtreecommitdiff
path: root/corbautils.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-15 11:56:32 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-15 11:56:32 +0100
commit2575a944af5839cf1bbafbdfe7f7f55478020014 (patch)
tree69d3e962e42ca99acd40b370028a7365e8a4e999 /corbautils.py
parent9dda4d681ecb3a769b39223ca723f98157071335 (diff)
downloadlogilab-common-2575a944af5839cf1bbafbdfe7f7f55478020014.tar.gz
2to3: fix a lot of white space after comma
Diffstat (limited to 'corbautils.py')
-rw-r--r--corbautils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/corbautils.py b/corbautils.py
index fa1b6c5..e539a6c 100644
--- a/corbautils.py
+++ b/corbautils.py
@@ -50,7 +50,7 @@ def get_root_context():
orb = get_orb()
nss = orb.resolve_initial_references("NameService")
rootContext = nss._narrow(CosNaming.NamingContext)
- assert rootContext is not None,"Failed to narrow root naming context"
+ assert rootContext is not None, "Failed to narrow root naming context"
return rootContext
def register_object_name(object, namepath):
@@ -77,7 +77,7 @@ def register_object_name(object, namepath):
assert context is not None, \
'test context exists but is not a NamingContext'
- id,kind = namepath[-1]
+ id, kind = namepath[-1]
name = [CosNaming.NameComponent(id, kind)]
try:
context.bind(name, object._this())