smdb.py: fix test for if a datatype is known
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Jun 2014 07:39:26 +0000 (10:39 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Jun 2014 07:39:26 +0000 (10:39 +0300)
commit34df544100682a962e4538d0978db9c33b8fab55
tree30434b4930c12f0439e086663443e6437e6e0d3c
parentc5a8f67516e2a9f0fabe5eb9159c654662efc0ff
smdb.py: fix test for if a datatype is known

The current test crashes instead of testing if a key exists.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/smdb.py