validate SimpleCnf inputs
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 5 Nov 2018 08:58:43 +0000 (09:58 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 5 Nov 2018 11:21:05 +0000 (12:21 +0100)
commitce20f5b6875e8d04d57682408e084e182d8288cd
tree6d93ca27717bb9620378309d9c456fc21c364bc2
parent55e596ea96068112c4d6603996a388118bd5e599
validate SimpleCnf inputs

The cnfvar functions cannot handle ``tuple'' inputs since the
inputs are variable length. Make simple_cnf pass a list instead
and reject non-list inputs in the ctor.
src/simple_cnf.py
test/test_simple_cnf.py