Skip to content

Commit accab43

Browse files
committed
Merge pull request #2217 from AdamHeck/master
Fix false detection of gtk3 bindings during install
1 parent cb909ee commit accab43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ def check(self):
14731473
raise CheckFailed("Can't build with Travis")
14741474

14751475
if sys.version_info[0] >= 3:
1476-
return "gtk3agg backend does not work on Python 3"
1476+
raise CheckFailed("gtk3agg backend does not work on Python 3")
14771477

14781478
# This check needs to be performed out-of-process, because
14791479
# importing gi and then importing regular old pygtk afterward

0 commit comments

Comments
 (0)