Show progress when loading packages from reflist.

This commit is contained in:
Andrey Smirnov
2014-03-07 00:04:35 +04:00
parent 81dd5a398b
commit 6f86bfec72
8 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func aptlyRepoRemove(cmd *commander.Command, args []string) error {
context.progress.Printf("Loading packages...\n")
packageCollection := debian.NewPackageCollection(context.database)
list, err := debian.NewPackageListFromRefList(repo.RefList(), packageCollection)
list, err := debian.NewPackageListFromRefList(repo.RefList(), packageCollection, context.progress)
if err != nil {
return fmt.Errorf("unable to load packages: %s", err)
}