From f73e7344111645b836e767bbf80b96834651805f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 21 Mar 2017 01:55:00 +0100 Subject: Run "make fmt" with go-1.6 (#1333) --- modules/setting/setting.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/setting/setting.go') diff --git a/modules/setting/setting.go b/modules/setting/setting.go index a7e93c36fc..8c45e61e81 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -762,14 +762,14 @@ please consider changing to GITEA_CUSTOM`) EnableOpenIDSignIn = sec.Key("ENABLE_OPENID_SIGNIN").MustBool(true) EnableOpenIDSignUp = sec.Key("ENABLE_OPENID_SIGNUP").MustBool(true) pats := sec.Key("WHITELISTED_URIS").Strings(" ") - if ( len(pats) != 0 ) { + if len(pats) != 0 { OpenIDWhitelist = make([]*regexp.Regexp, len(pats)) for i, p := range pats { OpenIDWhitelist[i] = regexp.MustCompilePOSIX(p) } } pats = sec.Key("BLACKLISTED_URIS").Strings(" ") - if ( len(pats) != 0 ) { + if len(pats) != 0 { OpenIDBlacklist = make([]*regexp.Regexp, len(pats)) for i, p := range pats { OpenIDBlacklist[i] = regexp.MustCompilePOSIX(p) -- cgit v1.2.3