From: Mark Hymers Date: Fri, 7 Nov 2014 21:02:39 +0000 (+0000) Subject: Improve dsc_in_suite function documentation X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f01b13ab05dcfc8ccebb8eaba3362f70b3018809;p=dak.git Improve dsc_in_suite function documentation Signed-off-by: Mark Hymers --- diff --git a/dakweb/queries/source.py b/dakweb/queries/source.py index 298ee9dd..39d8ea5c 100644 --- a/dakweb/queries/source.py +++ b/dakweb/queries/source.py @@ -10,9 +10,11 @@ from dakweb.webregister import QueryRegister @bottle.route('/dsc_in_suite//') def dsc_in_suite(suite=None, source=None): """ - Find all dsc files for a given source package name in a given suite. + dsc_in_suite(suite, source) + + returns: list of dictionaries - suite and source must be supplied + Find all dsc files for a given source package name in a given suite. """ if suite is None: return bottle.HTTPError(503, 'Suite not specified.')