aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-03-22 05:24:29 +0100
committerMax Magorsch <arzano@gentoo.org>2020-03-22 05:24:29 +0100
commit311674011dc4862b69ebf3ae29bfcb4b58d1faa0 (patch)
treed94224ee36db1fe9658837a578d8562e4adc1523
parentFix searching by 'category/package' (diff)
downloadpackages-5-311674011dc4862b69ebf3ae29bfcb4b58d1faa0.tar.gz
packages-5-311674011dc4862b69ebf3ae29bfcb4b58d1faa0.tar.bz2
packages-5-311674011dc4862b69ebf3ae29bfcb4b58d1faa0.zip
Correctly display masked versionsv9.0.10
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-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 f598a44..00b64b8 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?(arch)
+ if is_masked?
:masked
else
keyword(arch)