]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes potential bugs found by pylint
authorRongze Zhu <zrzhit@gmail.com>
Fri, 7 Sep 2012 03:16:36 +0000 (11:16 +0800)
committerRongze Zhu <zrzhit@gmail.com>
Fri, 7 Sep 2012 03:16:36 +0000 (11:16 +0800)
commit590d3e7b0f74524093725a2e28150b083a77cf96
tree037e801bdc00606b7f39a5764d89b16e175c5943
parent2cd6a4d68f0faf592b5e2185f792afae27b438d9
Fixes potential bugs found by pylint

Partial fixes bug #1043884

* remove _ec2_volume_get_query and _ec2_snapshot_get_query in
cinder.db.sqlalchemy.api, because they no longer be used in cinder.
* import openstack.commmon.utils.timeutils, because notify_usage_exists use it.

Change-Id: I3e989b940b6a99ac7751c940fa766aa13c61607b
cinder/db/sqlalchemy/api.py
cinder/volume/utils.py