[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Mark filepattern as type path to let bottle do the right thing



---
 dakweb/queries/source.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dakweb/queries/source.py b/dakweb/queries/source.py
index 8e47319..2b27a56 100755
--- a/dakweb/queries/source.py
+++ b/dakweb/queries/source.py
@@ -61,7 +61,7 @@ def dsc_in_suite(suite=None, source=None):
 
 QueryRegister().register_path('/dsc_in_suite', dsc_in_suite)
 
-@bottle.route('/file_in_archive/<filepattern>')
+@bottle.route('/file_in_archive/<filepattern:path>')
 def file_in_archive(filepattern=None):
     """
     Check if a file pattern is known to the archive. Note that the
-- 
2.1.4


Reply to: