networkx/networkx — pull request #1042 by dschult (2013-12-30 15:44:55+00:00)
Title: Fix issue #1041 in simple_cycles. Add test.

Reset the closed status of nextnode so it doesn't get unblocked
prematurely.