]> source.dussan.org Git - gitea.git/commitdiff
remove empty line as per https://github.com/gogits/gogs/pull/1475
authorDon Bowman <don.waterloo@gmail.com>
Sat, 15 Aug 2015 09:21:34 +0000 (09:21 +0000)
committerDon Bowman <don.waterloo@gmail.com>
Sat, 15 Aug 2015 09:21:34 +0000 (09:21 +0000)
models/publickey.go

index 3ef84b9c704298186d13cd1cb5998fb933d7cf40..400486eba7e745d78455384428b1ff4109cd3ff3 100644 (file)
@@ -386,7 +386,6 @@ func ListPublicKeys(uid int64) ([]*PublicKey, error) {
 
 // rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file.
 func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
-
        fr, err := os.Open(p)
        if err != nil {
                return err