Commit c40fc20

Richard Luby <richluby@gmail.com>
2016-12-21 13:07:44
fixed String value of categories
1 parent 5c42431
Changed files (1)
structures.go
@@ -1,7 +1,6 @@
 package main
 
 import (
-	"strconv"
 	"strings"
 	"sync"
 )
@@ -108,7 +107,7 @@ type Category struct {
 // category, or the empty string if the PathIndex
 // variable is too large
 func (cat Category) String() string {
-	return cat.FullCategoryPath() + " " + strconv.Itoa(cat.Parent)
+	return cat.FullCategoryPath()
 }
 
 // uses lazy evaluation and short circuting