Major refactoring: access to context happens in methods. #13

This commit is contained in:
Andrey Smirnov committed 2014-04-05 16:10:51 +04:00
1 parent 400d0da7d4
commit 2c3553ef0b
31 files changed
+333 -265

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
func getVerifier(flags *flag.FlagSet) (utils.Verifier, error) {
if utils.Config.GpgDisableVerify || flags.Lookup("ignore-signatures").Value.Get().(bool) {
if context.Config().GpgDisableVerify || flags.Lookup("ignore-signatures").Value.Get().(bool) {
return nil, nil
}