From abe3463a1b6e855a9ddca8c473ac243f8d5bc010 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 01 2015 07:39:01 +0000 Subject: Unsure all the arguments are strings before using them --- diff --git a/pagure/lib/notify.py b/pagure/lib/notify.py index d3762fe..bd359b8 100644 --- a/pagure/lib/notify.py +++ b/pagure/lib/notify.py @@ -88,6 +88,7 @@ def _build_url(*args): ''' Build a URL from a given list of arguments. ''' items = [] for idx, arg in enumerate(args): + arg = str(arg) if arg.startswith('/'): arg = arg[1:] if arg.endswith('/') and not idx + 1 == len(args):