pudo/dataset — pull request #60 by abhinav-upadhyay (2014-01-04 06:27:48+00:00)
Title: Fix insert for tables that do not have any primary key.

The insert method returns the value of the primary key for the inserted
row. But for tables that do not have any primary key, it raises an
IndexError, which is clearly wrong. At best it should return None in
such cases and avoid raising any exception.