[Commits] (morgen) Display endpoint alias name if any
commits at osafoundation.org
commits at osafoundation.org
Tue Apr 26 10:14:05 PDT 2005
Commit by: morgen
Modified files:
chandler/distrib/docgen/genmodeldocs.py 1.8 1.9
chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py 1.19 1.20
Log message:
Display endpoint alias name if any
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/distrib/docgen/genmodeldocs.py.diff?r1=text&tr1=1.8&r2=text&tr2=1.9
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py.diff?r1=text&tr1=1.19&r2=text&tr2=1.20
Index: chandler/distrib/docgen/genmodeldocs.py
diff -u chandler/distrib/docgen/genmodeldocs.py:1.8 chandler/distrib/docgen/genmodeldocs.py:1.9
--- chandler/distrib/docgen/genmodeldocs.py:1.8 Fri Feb 4 13:39:28 2005
+++ chandler/distrib/docgen/genmodeldocs.py Tue Apr 26 10:14:03 2005
@@ -263,7 +263,7 @@
cloud.iterEndpoints(cloudAlias=cloudAlias):
result += "<a href=%s>%s</a> in cloud %s: " % (toLink(urlRoot, endpoint.itsPath), endpoint.itsName, foundInCloud.itsPath)
if alias:
- result += " (alias '%s')" % cloud.endpoints.getAlias(endpoint)
+ result += " (alias '%s')" % alias
result += " policy '%s'" % endpoint.includePolicy
if endpoint.includePolicy == "byCloud":
if endpoint.getAttributeValue('cloud', default=None) is not \
Index: chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py
diff -u chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py:1.19 chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py:1.20
--- chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py:1.19 Tue Apr 19 11:26:18 2005
+++ chandler/parcels/osaf/framework/webserver/servlets/repo/Repo.py Tue Apr 26 10:14:03 2005
@@ -450,7 +450,7 @@
cloud.iterEndpoints(cloudAlias=cloudAlias):
result += "<a href=%s>%s</a> in cloud %s: " % (toLink(endpoint.itsPath), endpoint.itsName, foundInCloud.itsPath)
if alias:
- result += " (alias '%s')" % cloud.endpoints.getAlias(endpoint)
+ result += " (alias '%s')" % alias
result += " policy '%s'" % endpoint.includePolicy
if endpoint.includePolicy == "byCloud":
if endpoint.getAttributeValue('cloud', default=None) is not \
More information about the Commits
mailing list