]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix error when QuotaUsage.updated_at is NULL
authorHaomai Wang <haomai@unitedstack.com>
Tue, 16 Jul 2013 13:47:19 +0000 (21:47 +0800)
committerHaomai Wang <haomai@unitedstack.com>
Wed, 17 Jul 2013 02:34:36 +0000 (10:34 +0800)
commit9f75e546aaf2b791868a3eac424462f78dca707f
tree6be9aae30576b160717c5ed713099a0e9c0878a8
parent5be685218b5dc08b9cd9e024482bbb2ed2eccf7d
Fix error when QuotaUsage.updated_at is NULL

When QuotaUsage.updated_at is None, it will raise non-expected exception.
Just verify it.

Fix bug 1197259

Change-Id: I2b41d025f8cffa6c0b3f0153a5194d5e7b1a05df
cinder/db/sqlalchemy/api.py