forked from tildetown/town
this logging was of little value and caused sadness
parent
28ac63f256
commit
4847c19eaf
|
@ -5,7 +5,6 @@ import (
|
|||
"bytes"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path"
|
||||
|
@ -16,8 +15,6 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// TODO FIX LOGGING TO STDOUT (move this to the cmd)
|
||||
|
||||
const defaultIndexPath = "/etc/skel/public_html/index.html"
|
||||
const description = `an intentional digital community for creating and sharing
|
||||
works of art, peer education, and technological anachronism. we are
|
||||
|
@ -99,8 +96,6 @@ func getNews() (entries []NewsEntry, err error) {
|
|||
current.Pubdate = strings.TrimSpace(kv[1])
|
||||
} else if kv[0] == "title" {
|
||||
current.Title = strings.TrimSpace(kv[1])
|
||||
} else {
|
||||
log.Printf("ignoring unknown metadata in news entry: %v\n", newsLine)
|
||||
}
|
||||
if current.Pubdate != "" && current.Title != "" {
|
||||
inMeta = false
|
||||
|
|
Loading…
Reference in New Issue