Commit 2111394b authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

fix extract command traceback

command extract use only one image at a time
parent 939bcf01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ def c_extract(args):
    Extract a packaged image inside a directory
    '''
    repoman = load_repositories(args)
    for image, repo in get_images(args.pattern, repoman, min=1, max=1):
    for image, repo in get_images([args.pattern], repoman, min=1, max=1):
        image.extract(args.path, payload=args.payload, force=args.force,
                      gendescription=args.gen_description)