req.py
changeset 6582 8eb7883b4223
parent 6321 a8a33679f4dd
child 6750 ef513c03a224
--- a/req.py	Thu Oct 21 18:38:36 2010 +0200
+++ b/req.py	Fri Oct 22 09:15:35 2010 +0200
@@ -210,8 +210,7 @@
             if not isinstance(values, (list, tuple)):
                 values = (values,)
             for value in values:
-                if value is None:
-                    raise ValueError(_('unauthorized value'))
+                assert value is not None
                 args.append(u'%s=%s' % (param, self.url_quote(value)))
         return '&'.join(args)