X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdbconn.py;h=51a76c5a69f84f0bd4df54e00627c91ace223b41;hb=c9eb56484947644070f33383685a2bf288795139;hp=e611d47df2106e9a084d0951b9e9b3b44710e57b;hpb=39799e5acc0db0c864ebea1b38fc6c1e1a5cec25;p=dak.git diff --git a/daklib/dbconn.py b/daklib/dbconn.py index e611d47d..51a76c5a 100644 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -433,27 +433,6 @@ def get_architecture(architecture, session=None): __all__.append('get_architecture') -# TODO: should be removed because the implementation is too trivial -@session_wrapper -def get_architecture_suites(architecture, session=None): - """ - Returns list of Suite objects for given C{architecture} name - - @type architecture: str - @param architecture: Architecture name to search for - - @type session: Session - @param session: Optional SQL session object (a temporary one will be - generated if not supplied) - - @rtype: list - @return: list of Suite objects for the given name (may be empty) - """ - - return get_architecture(architecture, session).suites - -__all__.append('get_architecture_suites') - ################################################################################ class Archive(object):