Show progress when loading packages from reflist.

This commit is contained in:
Andrey Smirnov committed 2014-03-07 00:04:35 +04:00
1 parent 81dd5a398b
commit 6f86bfec72
8 files changed
+27 -13

No files matched your search

+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)
}