Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
[plcapi.git] / PLC / Namespace.py
index 1332ea2..d0ce9b8 100644 (file)
@@ -1,6 +1,3 @@
-### $Id: Namespace.py
-### $URL:
-
 URN_PREFIX = "urn:publicid:IDN"
 
 def get_leaf(hrn):
@@ -26,7 +23,7 @@ def hrn_to_pl_login_base(hrn):
 
 def hostname_to_hrn(auth_hrn, login_base, hostname):
     """
-    Convert hrn to plantelab name.
+    Convert hrn to planetlab name.
     """
     sfa_hostname = ".".join([auth_hrn, login_base, hostname.split(".")[0]])
     return sfa_hostname