aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdexter.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/dexter.rb b/dexter.rb
index 9a5dd5f..7ed7691 100755
--- a/dexter.rb
+++ b/dexter.rb
@@ -179,7 +179,9 @@ class Victim
homepage = id.homepage_key.parse_value.first
have_homepage = true
end
- if have_desc && have_homepage: break end
+ if have_desc && have_homepage
+ break
+ end
end
grave << "\n"
grave << " comment = #{@comment}\n" unless @comment.nil? or @comment.empty?
@@ -260,10 +262,10 @@ options.each do |opt, arg|
when '--log-level'
Paludis::Log.instance.log_level = case arg
- when 'silent': Paludis::LogLevel::Silent
- when 'warning': Paludis::LogLevel::Warning
- when 'qa': Paludis::LogLevel::Qa
- when 'debug': Paludis::LogLevel::Debug
+ when 'silent' then Paludis::LogLevel::Silent
+ when 'warning' then Paludis::LogLevel::Warning
+ when 'qa' then Paludis::LogLevel::Qa
+ when 'debug' then Paludis::LogLevel::Debug
else error "invalid #{opt}: #{arg}"
end