mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
cleanup: rubocop: fix Style/RescueModifier in lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18946 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -218,7 +218,12 @@ module Redmine
|
||||
end
|
||||
yield Revision.new(:revision => le['revision'],
|
||||
:scmid => le['node'],
|
||||
:author => (le['author']['__content__'] rescue ''),
|
||||
:author =>
|
||||
(begin
|
||||
le['author']['__content__']
|
||||
rescue
|
||||
''
|
||||
end),
|
||||
:time => Time.parse(le['date']['__content__']),
|
||||
:message => le['msg']['__content__'],
|
||||
:paths => paths,
|
||||
|
Reference in New Issue
Block a user