aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-03-22 17:16:04 +0100
committerMax Magorsch <arzano@gentoo.org>2020-03-22 17:16:04 +0100
commite3c812773a44416d5e2475d8ccfa5c0ec16a7cfc (patch)
tree331d31555b92d88b8bf95f86070c3af7ede2d7a2 /app
parentCorrectly display masked versions (diff)
downloadpackages-5-e3c812773a44416d5e2475d8ccfa5c0ec16a7cfc.tar.gz
packages-5-e3c812773a44416d5e2475d8ccfa5c0ec16a7cfc.tar.bz2
packages-5-e3c812773a44416d5e2475d8ccfa5c0ec16a7cfc.zip
Revert "Correctly display masked versions"HEADv9.0.11masterdev/main
The masked versions are not correctly calculated and thus the displayed information are wrong. Will be reverted until the computation of masked versions has been fixed. Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'app')
-rw-r--r--app/models/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb
index 00b64b8..f598a44 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -69,7 +69,7 @@ class Version
# @param [String] arch Architecture to query
# @return [Symbol] Keyword status
def effective_keyword(arch)
- if is_masked?
+ if is_masked?(arch)
:masked
else
keyword(arch)