]> Cypherpunks.ru repositories - gocheese.git/blobdiff - integrity.go
Raise copyright years
[gocheese.git] / integrity.go
index a96d80edb1849058c3f8a6c51f8855c2d007c7e1..7ca0a0c07ce22de4649afbb12d08fcf0d3e10e83 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoCheese -- Python private package repository and caching proxy
-Copyright (C) 2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2019-2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -61,10 +61,10 @@ func goodIntegrity() bool {
                                log.Fatal(err)
                        }
                        if bytes.Compare(hasher.Sum(digest[:0]), data) == 0 {
-                               fmt.Println(pkgName, "GOOD")
+                               fmt.Println("GOOD", pkgName)
                        } else {
                                isGood = false
-                               fmt.Println(pkgName, "BAD")
+                               fmt.Println("BAD", pkgName)
                        }
                        hasher.Reset()
                }