summaryrefslogtreecommitdiff
path: root/corbautils.py
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2009-07-19 02:07:55 +0200
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2009-07-19 02:07:55 +0200
commita1cdde3320add8bbe4557639488bb4d2ef2861fd (patch)
treef579949c7a7fb9b4efb8a6ccdfcd35484854662b /corbautils.py
parent6bb5a230a8df5ed2fe417c7b85491073da50dfd3 (diff)
downloadlogilab-common-a1cdde3320add8bbe4557639488bb4d2ef2861fd.tar.gz
[cleanup] delete-trailing-whitespace
Diffstat (limited to 'corbautils.py')
-rw-r--r--corbautils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/corbautils.py b/corbautils.py
index 53963f3..02ba570 100644
--- a/corbautils.py
+++ b/corbautils.py
@@ -17,7 +17,7 @@ def get_orb():
The first call to the method initialized the ORB
This method is mainly used internally in the module.
"""
-
+
global orb
if orb is None:
import sys
@@ -29,7 +29,7 @@ def get_root_context():
returns a reference to the NameService object.
This method is mainly used internally in the module.
"""
-
+
orb = get_orb()
nss = orb.resolve_initial_references("NameService")
rootContext = nss._narrow(CosNaming.NamingContext)
@@ -47,7 +47,7 @@ def register_object_name(object, namepath):
[('logilab','rootmodule'),('chatbot','application'),('chatter','server')]
is mapped to
'corbaname::hostname#logilab.rootmodule/chatbot.application/chatter.server'
-
+
The get_object_reference() function can be used to resolve such a URL.
"""
context = get_root_context()