Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 575de44

Browse files
committed
Merge pull request #2217 from AdamHeck/master
Fix false detection of gtk3 bindings during install
2 parents c672697 + f84b51b commit 575de44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ def check(self):
14741474
raise CheckFailed("Can't build with Travis")
14751475

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

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

0 commit comments

Comments
 (0)