Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
converted assert into exception#3060
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
873e91d
b297f41
187f584
34c6a5f
0c1f9f7
4cfa781
aba9d99
8fbb652
5a45046
33fdabe
67bdfea
531004c
eaca138
9e4b911
d12fbb8
7f80628
4fc36c6
617b622
2cbb326
20966e9
96c733e
140210f
a2abc7b
25cec22
06aedf7
77da3b6
95ae2cd
b167c0c
f9792a9
850178e
c0ebd4f
6b6d2de
088542e
41bf6b5
7ea5c1a
d6c3c32
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -3096,7 +3096,7 @@ def ensure_quadratic_bezier(path): | ||
segments = list(path.iter_segments()) | ||
if (len(segments) != 2) or (segments[0][1] != Path.MOVETO) or\ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. remove the | ||
(segments[1][1] != Path.CURVE3): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Aligning with the inner block is a greater style issue that over indenting, can you push this in a few more spaces? | ||
msg = "'path' it's not a validquadratic bezier curve" | ||
raise ValueError(msg) | ||
return list(segments[0][0]) + list(segments[1][0]) | ||