Skip to content

Commit

Permalink
Merge pull request #1439 from kmuto/refactoring-idgxml
Browse files Browse the repository at this point in the history
refacotring idgxmlbuilder
  • Loading branch information
kmuto authored Dec 17, 2019
2 parents 385ae94 + 3320ef1 commit 9c9a557
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/review/idgxmlbuilder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,7 @@ def emlistnum(lines, caption = nil, _lang = nil)

def listnum(lines, id, caption, lang = nil)
puts '<codelist>'
begin
list_header(id, caption, lang)
rescue KeyError
error "no such list: #{id}"
end
listnum_body(lines, lang)
super(lines, id, caption, lang)
puts '</codelist>'
end

Expand Down

0 comments on commit 9c9a557

Please sign in to comment.