:return: repo.files()

def handle_items(repo, **kwargs):
    """:return: repo.files()"""
    log.info('items: %s %s' %(repo, kwargs))
    if not hasattr(repo, 'items'):
        return []
    return [i.serialize() for i in repo.items(**kwargs)]