Signed-off-by: Torsten Werner <twerner@debian.org>
@session_wrapper
def get_suite_architectures(suite, skipsrc=False, skipall=False, session=None):
"""
- Returns list of Architecture objects for given C{suite} name or None if
- suite does not exist
+ Returns list of Architecture objects for given C{suite} name. The list is
+ empty if suite does not exist.
@type suite: str
@param suite: Suite name to search for
try:
return get_suite(suite, session).get_architectures(skipsrc, skipall)
except AttributeError:
- return None
+ return []
__all__.append('get_suite_architectures')