diff options
| author | Sergey Lukjanov <slukjanov@mirantis.com> | 2013-05-30 08:32:42 +0400 |
|---|---|---|
| committer | Sergey Lukjanov <slukjanov@mirantis.com> | 2013-05-30 09:00:57 +0400 |
| commit | 484a1df32d5854312ef31c5b488fc07fff8428c4 (patch) | |
| tree | e8ac54c6ab7f1aeac8ca23522683d6ebc5b3ec14 /openstack/common/scheduler | |
| parent | 35660dac73f9f7428f9c441583464b5942ca6827 (diff) | |
Enable hacking H403 test
H403 multi line docstring end on new line
Change-Id: I33249651026b54ef346214965e909835288bb14e
Diffstat (limited to 'openstack/common/scheduler')
| -rw-r--r-- | openstack/common/scheduler/filters/capabilities_filter.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openstack/common/scheduler/filters/capabilities_filter.py b/openstack/common/scheduler/filters/capabilities_filter.py index df69955..89e2bdb 100644 --- a/openstack/common/scheduler/filters/capabilities_filter.py +++ b/openstack/common/scheduler/filters/capabilities_filter.py @@ -25,8 +25,9 @@ class CapabilitiesFilter(filters.BaseHostFilter): """HostFilter to work with resource (instance & volume) type records.""" def _satisfies_extra_specs(self, capabilities, resource_type): - """Check that the capabilities provided by the services - satisfy the extra specs associated with the instance type""" + """Check that the capabilities provided by the services satisfy + the extra specs associated with the instance type. + """ extra_specs = resource_type.get('extra_specs', []) if not extra_specs: return True |
