diff --git a/bin/is b/bin/is
index bfed4dbb8824f968f55859f82c16f6ba7ea767d3..e872a6a0ec93e5e5e08d641f86c320f144c488e7 100755
--- a/bin/is
+++ b/bin/is
@@ -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