view .hgtags @ 231:137bcd498ef9

serve: Fix a bug where empty route metadata is not the same as invalid route. Some routes can capture no metadata at all, like for example when `foo/%path:slug%` is capturing URL `foo`. The route is still valid, so it returns an empty dictionary. It's not the same as returning `None`, which means "no match".
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 11 Feb 2015 08:31:13 -0800
parents ede1a59f481d
children b30ab97e091b
line wrap: on
line source

cb1ed436642caadf9d3f19c1750096b116e43606 2.0.0-alpha1
cb1ed436642caadf9d3f19c1750096b116e43606 2.0.0-alpha1
ecee3e8f35e57e4a606794a11fc6e8aba2734d2f 2.0.0-alpha1
ecee3e8f35e57e4a606794a11fc6e8aba2734d2f 2.0.0-alpha1
8f988aa54433e0c4aa036cd00bcfa5904d3be304 2.0.0-alpha1
fdb08d986384687959fe11640f058eac22c17b8f 2.0.0-alpha2
c80a3be091da98f00ccb8e3a1be628f7d6a68ae5 2.0.0-alpha3
d74ae33832ae4ca0d17b56ea862381517875ab0a 2.0.0-alpha4
d74ae33832ae4ca0d17b56ea862381517875ab0a 2.0.0-alpha4
028df35a690e55c95c8fae692c85b3d69dc6cc7e 2.0.0-alpha4
acc718ab56da2aeecce83a9fe8240f48f2b0b607 2.0.0a5