Fixed "decide function returned None!" bug
commitd2214e7bc5861fdbf635c71f9e4c27ec652fd986
authorThomas Leonard <talex5@gmail.com>
Sat, 12 Mar 2011 12:59:51 +0000 (12 12:59 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 12 Mar 2011 13:44:01 +0000 (12 13:44 +0000)
treee62c985549d0f672e0680a9676adf59fc01a460a
parentdfc905360c954efce27952f8870550082bacc71b
Fixed "decide function returned None!" bug

If there were multiple commands with the same <runner> then we added all the
runner's commands to the SAT problem multiple times. However, we only
remembered the most recent set when it came to choosing.

Added a test-case for it, based on test case reported by Tim Cuthbertson.
tests/nose.xml [new file with mode: 0644]
tests/testsolver.py
tests/watchdog.xml [new file with mode: 0644]
zeroinstall/injector/solver.py