aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-04-28 02:00:34 +0200
committerMax Magorsch <arzano@gentoo.org>2020-04-28 02:00:34 +0200
commit817f67ae46422ed3583c1b34559d52639a47c90c (patch)
tree0f76a92f98adfa157bbf5654ecee203d79ff25ae /pkg/portage/repository/mask.go
parentBump the version to v0.1.12 (diff)
downloadsoko-817f67ae46422ed3583c1b34559d52639a47c90c.tar.gz
soko-817f67ae46422ed3583c1b34559d52639a47c90c.tar.bz2
soko-817f67ae46422ed3583c1b34559d52639a47c90c.zip
Add a json page for each package
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'pkg/portage/repository/mask.go')
-rw-r--r--pkg/portage/repository/mask.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/portage/repository/mask.go b/pkg/portage/repository/mask.go
index a684211..c0ee191 100644
--- a/pkg/portage/repository/mask.go
+++ b/pkg/portage/repository/mask.go
@@ -69,7 +69,7 @@ func versionSpecifierToPackageAtom(versionSpecifier string) string {
// and returns the author name, author email and the date
func parseAuthorLine(authorLine string) (string, string, time.Time) {
- if ! ( strings.Contains(authorLine, "<") && strings.Contains(authorLine, ">") ) {
+ if !(strings.Contains(authorLine, "<") && strings.Contains(authorLine, ">")) {
logger.Error.Println("Error while parsing the author line in mask entry:")
logger.Error.Println(authorLine)
return "", "", time.Now()