From 06001af5fe64466bb2f26897ca2d72152d9ac06b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 15 Nov 2016 00:22:03 -0500 Subject: remove debugging code --- src/edit/enhancers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/edit/enhancers.go b/src/edit/enhancers.go index b732ab2..4fa2ed5 100644 --- a/src/edit/enhancers.go +++ b/src/edit/enhancers.go @@ -7,8 +7,6 @@ import ( "mime/multipart" "strings" "path" - - "fmt" ) type enhancer struct { @@ -64,12 +62,10 @@ func loadEnhancers(filename string) []enhancer { var enhancers = loadEnhancers("enhancers.txt") func getEnhancer(ctype string) (head, tail string) { - fmt.Fprintf(os.Stderr, "enhancers = %q\n", enhancers) for _, enhancer := range enhancers { for _, pattern := range enhancer.pattern { matched, err := path.Match(pattern, ctype) errcheck(err) - fmt.Fprintf(os.Stderr, "Match(%q, %q) => %q\n", pattern, ctype, matched) if matched { return enhancer.head, enhancer.tail } -- cgit v1.2.3-54-g00ecf