Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Reverted change in usfm_linter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Mahn committed Oct 14, 2017
1 parent 3039c30 commit acda122
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libraries/linters/usfm_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@ def parse_usfm_text(self, sub_path, file_name, book_text, book_full_name, book_c

if len(errors):
for error in errors:
parts = error.split( ":" )
if(len(parts) < 2):
parts.append("")
self.log.warning("{0} {1} - {2}".format(book_code, " ".join(parts[1:]), parts[0]))
self.log.warning(error)

except Exception as e:
# for debugging
self.log.warning("Failed to verify book '{0}', exception: {1}".format(file_name, str(e)))

0 comments on commit acda122

Please sign in to comment.