diff piecrust/serving/server.py @ 390:3a184fbc900b

serve: Remove development assert.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 17 May 2015 08:30:19 -0700
parents f33712c4cfab
children 3e4bb57d8506
line wrap: on
line diff
--- a/piecrust/serving/server.py	Sat May 16 00:05:43 2015 -0700
+++ b/piecrust/serving/server.py	Sun May 17 08:30:19 2015 -0700
@@ -341,7 +341,6 @@
         # just don't use cached rendered segments for that page (but still
         # use them for pages that are included in it).
         uri = qp.getUri()
-        assert uri.rstrip(' /') == req_path.rstrip(' /')
         entry = self._page_record.getEntry(uri, page_num)
         if (taxonomy_info is not None or entry is None or
                 entry.used_source_names):