diff options
author | Ian Cordasco <ian.cordasco@rackspace.com> | 2015-01-23 12:24:52 -0600 |
---|---|---|
committer | Ian Cordasco <ian.cordasco@rackspace.com> | 2015-02-13 19:48:02 +0000 |
commit | ac9bd0d83acaf703013f4e4b16c35be5e6567151 (patch) | |
tree | 79a660b8f01d614e8cd23ef6ca5854f2e342dd36 /requirements.txt | |
parent | 138875b7c3051a4f92616df56bffb8c91e669d88 (diff) | |
download | glance_store-ac9bd0d83acaf703013f4e4b16c35be5e6567151.tar.gz |
Use a named enum for capability values
In Iedf0d4f829e46ca64c3f4fc6a7dfee54d9b0605b we added support for driver
capabilities in glance_store. That same change also used (mutable)
module globals to check driver capabilities. By moving the capability
definitions inside a subclass of IntEnum we retain all of the previous
functionality with the guarantee that the enum values will not change
once defined.
Change-Id: I13c7bd507252e793b2c790cc9b77c7b8db432d02
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt index 188019f..8ff82a6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ oslo.serialization>=1.0.0 # Apache-2.0 oslo.utils>=1.2.0 # Apache-2.0 oslo.concurrency>=1.4.1 # Apache-2.0 stevedore>=0.12 +enum34 python-cinderclient>=1.0.6 |