mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-29 10:48:58 +01:00
update for go-release-2011-02-01:
* M bindings/go/cmds/notmuch-addrlookup.go log.Exitf -> log.Fatalf
This commit is contained in:
parent
ca69ce2397
commit
62725a5b59
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@ import "sort"
|
||||||
|
|
||||||
// 3rd-party imports
|
// 3rd-party imports
|
||||||
import "notmuch"
|
import "notmuch"
|
||||||
//import "github.com/jteeuwen/go-pkg-ini/ini"
|
|
||||||
import "github.com/kless/goconfig/config"
|
import "github.com/kless/goconfig/config"
|
||||||
|
|
||||||
type mail_addr_freq struct {
|
type mail_addr_freq struct {
|
||||||
|
@ -189,7 +188,7 @@ func new_address_matcher() *address_matcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg,err = config.ReadDefault(path.Join(home, ".notmuch-config")); err != nil {
|
if cfg,err = config.ReadDefault(path.Join(home, ".notmuch-config")); err != nil {
|
||||||
log.Exitf("error loading config file:",err)
|
log.Fatalf("error loading config file:",err)
|
||||||
}
|
}
|
||||||
|
|
||||||
db_path,_ := cfg.String("database", "path")
|
db_path,_ := cfg.String("database", "path")
|
||||||
|
|
Loading…
Add table
Reference in a new issue