Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1260)

Issue 549270043: Replace string exceptions by RuntimeError (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 4 months ago by hahnjo
Modified:
4 years, 3 months ago
Reviewers:
lemzwerg
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Replace string exceptions by RuntimeError Apparently string exceptions have already been removed in Python 2.6: https://docs.python.org/2/whatsnew/2.6.html#deprecations-and-removals As such, I don't think these code paths are taken very often...

Patch Set 1 #

Patch Set 2 : Replace additional string exceptions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M python/convertrules.py View 1 1 chunk +1 line, -1 line 0 comments Download
M python/musicexp.py View 1 2 chunks +1 line, -2 lines 0 comments Download
M python/musicxml.py View 1 chunk +1 line, -1 line 0 comments Download
M scripts/auxiliar/update-snippets.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2
lemzwerg
LGTM
4 years, 4 months ago (2019-12-08 21:01:54 UTC) #1
hahnjo
4 years, 4 months ago (2019-12-09 20:18:00 UTC) #2
Replace additional string exceptions
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b