Commit ad8a731f authored by Seblu's avatar Seblu
Browse files

Remove select_one_repository. No more needed.

parent 8c5c22f6
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -46,13 +46,6 @@ def load_repositories(args):
                    repoman.register(repoconf)
    return repoman

def select_one_repository(repoman):
    if len(repoman) == 0:
        raise Exception("No repository selected")
    elif len(repoman) > 1:
        raise Exception("Please select only one repository")
    return repoman[0]

def select_image(name, repoman):
    '''
    Select and load a package image from a standard naming type