--- a/Allura/allura/model/index.py
+++ b/Allura/allura/model/index.py
@@ -93,16 +93,9 @@
re_link_2 = re.compile(r'^' + _core_re, re.VERBOSE)
def __repr__(self):
- with h.push_context(self.project_id):
- if self.app_config:
- return '[%s:%s:%s] -> %s' % (
- self.project.shortname,
- self.app_config.options.mount_point,
- self.link,
- self.ref_id)
- else:
- return '[%s:*:%s] -> %s' % (
- self.project.shortname,
+ return '<Shortlink %s %s %s -> %s>' % (
+ self.project_id,
+ self.app_config_id,
self.link,
self.ref_id)