diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 00:22:03 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 00:22:03 -0500 |
commit | 06001af5fe64466bb2f26897ca2d72152d9ac06b (patch) | |
tree | 0e205d6db9cb9f0783d1d0d46c2dfa1f0069930f | |
parent | 9014a7f799373f7760436a4405591c21f3a4f709 (diff) |
remove debugging code
-rw-r--r-- | src/edit/enhancers.go | 4 |
1 files changed, 0 insertions, 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 } |