Supervisor/supervisor — pull request #314 by dongweiming (2013-11-20 15:27:28+00:00)
Title: reconstruction states.py

When i read the states.py, I discovered that in fact it is mostly repetitive processing a logical. So i use the `partial` to reconstruction this.