Update canonical order of fields in stanza to match what apt tools generate. #172

This commit is contained in:
Andrey Smirnov
2015-01-19 21:17:58 +03:00
parent fd502264a9
commit 876eeedb14
8 changed files with 86 additions and 14 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func aptlyPackageShow(cmd *commander.Command, args []string) error {
result := q.Query(context.CollectionFactory().PackageCollection())
err = result.ForEach(func(p *deb.Package) error {
p.Stanza().WriteTo(w)
p.Stanza().WriteTo(w, p.IsSource, false)
w.Flush()
fmt.Printf("\n")