There should be a default 'else' when checking system platform

Bug #1605401 reported by Alejandro Carrillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyflashcards
New
Undecided
Unassigned

Bug Description

Hello! Right now in the 'configure.py' there's no 'else' case when trying to set the `ROOT` variable. So if your platform is neither 'linux2' nor 'darwin' nor 'win32,' ROOT is never set and the program will fail.

I found this by being on platform 'cygwin'. I fixed it locally by making the 'if' for 'win32' at L28 into an 'elif' and adding an 'else' case.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.