Browse Source

Cleanup vim artifacts

pull/40/head v0.7.3
andreimarcu 9 years ago
parent
commit
cb8b8800ba
  1. 2
      csp.go
  2. 2
      csp_test.go
  3. 2
      torrent.go
  4. 2
      torrent_test.go

2
csp.go

@ -36,5 +36,3 @@ func ContentSecurityPolicy(o CSPOptions) func(http.Handler) http.Handler {
}
return fn
}
// vim:set ts=8 sw=8 noet:

2
csp_test.go

@ -34,5 +34,3 @@ func TestContentSecurityPolicy(t *testing.T) {
}
}
}
// vim:set ts=8 sw=8 noet:

2
torrent.go

@ -94,5 +94,3 @@ func fileTorrentHandler(c web.C, w http.ResponseWriter, r *http.Request) {
w.Header().Set(`Content-Disposition`, fmt.Sprintf(`attachment; filename="%s.torrent"`, fileName))
http.ServeContent(w, r, "", time.Now(), bytes.NewReader(encoded))
}
// vim:set ts=8 sw=8 noet:

2
torrent_test.go

@ -58,5 +58,3 @@ func TestCreateTorrentWithImage(t *testing.T) {
t.Fatal("Torrent pieces did not match expected pieces for image")
}
}
// vim:set ts=8 sw=8 noet:
Loading…
Cancel
Save