Make Transaction code more robust
authorSimo Sorce <simo@redhat.com>
Thu, 2 Oct 2014 23:51:34 +0000 (19:51 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Mon, 6 Oct 2014 17:53:33 +0000 (19:53 +0200)
commit99a8dce084c178ad9d1c46aa6b8e8d1def76e754
treedc8e4f92e75d8554757d53865c2af9db05032d15
parent7605a4263263fb399176a0d9eea49ab7ecc81274
Make Transaction code more robust

Avoid raising exceptions when transactions are not found, just return
no cookies or empty dicts with no transactions in them.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/util/trans.py