Author: eallen
Date: 2008-10-14 08:48:51 -0400 (Tue, 14 Oct 2008)
New Revision: 2633
Modified:
mgmt/trunk/cumin/python/cumin/model.py
Log:
Don't escape the & in links that may be shortened
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2008-10-14 12:04:52 UTC (rev 2632)
+++ mgmt/trunk/cumin/python/cumin/model.py 2008-10-14 12:48:51 UTC (rev 2633)
@@ -1911,7 +1911,7 @@
try:
group = JobGroup(job.CustomGroup)
frame.show_job_group(branch, group)
- return escape_amp(fmt_olink(branch, group, name=group.get_id()))
+ return fmt_olink(branch, group, name=group.get_id())
except Exception, e:
return "Unavailable"
@@ -1928,7 +1928,7 @@
submitter.Name = "Unavailable"
frame.show_job(branch, job)
- return escape_amp(fmt_olink(branch, submitter, name=submitter.Name))
+ return fmt_olink(branch, submitter, name=submitter.Name)
class SchedulerProperty(CuminProperty):
@@ -1943,7 +1943,7 @@
scheduler.Name = "Unavailable"
frame.show_job(branch, job)
- return escape_amp(fmt_olink(branch, scheduler, name=scheduler.Name))
+ return fmt_olink(branch, scheduler, name=scheduler.Name)
class GetAd(CuminAction):
def do_invoke(self, job):
Show replies by date