update for go-release-2011-02-01:
authorSebastien Binet <binet@cern.ch>
Thu, 3 Feb 2011 08:36:58 +0000 (09:36 +0100)
committerSebastien Binet <binet@cern.ch>
Thu, 3 Feb 2011 08:36:58 +0000 (09:36 +0100)
  * M bindings/go/cmds/notmuch-addrlookup.go
    log.Exitf -> log.Fatalf

bindings/go/cmds/notmuch-addrlookup.go

index a72e5301a38aca2b2ca8850f6f3966b7758a6354..16958e502e4e1979ef962908729d7ae222f23cf0 100644 (file)
@@ -11,7 +11,6 @@ import "sort"
 
 // 3rd-party imports
 import "notmuch"
-//import "github.com/jteeuwen/go-pkg-ini/ini"
 import "github.com/kless/goconfig/config"
 
 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 {
-               log.Exitf("error loading config file:",err)
+               log.Fatalf("error loading config file:",err)
        }
 
        db_path,_ := cfg.String("database", "path")