freebsd-ports/www/trac-watchlist/files/patch-trachwatchlist_plugin.py
Ruslan Makhmatkhanov 92a745c7d7 - add patch to fix type handling bug
- bump PORTREVISION

PR:		181689
Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
2013-08-31 19:01:59 +00:00

11 lines
476 B
Python

--- tracwatchlist/plugin.py.orig 2013-08-30 19:07:32.000000000 +0800
+++ tracwatchlist/plugin.py 2013-08-30 19:08:43.000000000 +0800
@@ -527,7 +527,7 @@
self.set_notify(req, realm, res)
db.commit()
if redirectback and len(new_res) == 1:
- req.redirect(req.href(realm,new_res[0]))
+ req.redirect(req.href(realm,list(new_res)[0]))
action = 'view'
elif action == "unwatch":