You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
stable/yoga
stable/zed
stable/2023.1
stable/victoria
stable/wallaby
stable/xena
stable/train
stable/ussuri
20.0.0
20.0.0.0rc2
20.0.0.0rc1
stein-eol
rocky-eol
wallaby-em
16.1.0
19.0.0
19.0.0.0rc2
19.0.0.0rc1
victoria-em
18.0.0
18.0.0.0rc1
15.1.0
17.0.1
queens-eol
pike-eol
ussuri-em
17.0.0
17.0.0.0rc2
17.0.0.0rc1
14.2.0
ocata-eol
train-em
16.0.0
16.0.0.0rc1
stein-em
15.0.0
14.1.0
13.1.0
12.2.0
15.0.0.0rc1
13.0.2
12.1.0
14.0.0
14.0.0.0rc1
13.0.1
rocky-em
11.0.3
queens-em
13.0.0
13.0.0.0rc2
13.0.0.0rc1
pike-em
9.0.7
11.0.2
ocata-em
12.0.0
12.0.0.0rc2
11.0.1
10.0.3
9.0.6
12.0.0.0rc1
10.0.2
9.0.5
8.0.7
11.0.0
11.0.0.0rc2
11.0.0.0rc1
11.0.0.0b3
11.0.0.0b2
10.0.1
9.0.4
11.0.0.0b1
10.0.0
10.0.0.0rc2
9.0.3
10.0.0.0rc1
10.0.0.0b3
8.0.6
9.0.2
10.0.0.0b2
9.0.1
8.0.5
10.0.0.0b1
newton-eol
9.0.0
8.0.4
7.0.6
9.0.0.0rc2
9.0.0.0rc1
8.0.3
7.0.5
9.0.0.0b3
mitaka-eol
8.0.2
7.0.4
9.0.0.0b2
8.0.1
7.0.3
6.1.2
9.0.0.0b1
8.0.0
8.0.0.0rc2
8.0.0.0rc1
6.1.1
7.0.2
8.0.0.0b3
8.0.0.0b2
liberty-eol
7.0.1
8.0.0.0b1
5.0.3
7.0.0
7.0.0.0rc2
7.0.0.0rc1
5.0.2
6.1.0
7.0.0.0b3
7.0.0.0b2
7.0.0.0b1
kilo-eol
2015.1.4
6.0.0
6.0.0.0rc3
6.0.0.0rc2
6.0.0.0rc1
6.0.0.0b3
2015.1.3
5.0.1
6.0.0.0b2
juno-eol
6.0.0.0b1
2014.2.4
5.0.0
2015.1.2
5.0.0.0rc2
5.0.0.0rc1
5.0.0.0b3
5.0.0.0b2
2015.1.1
icehouse-eol
5.0.0.0b1
5.0.0a0
2014.1.5
2015.1.0
2015.1.0rc2
2014.2.3
2015.1.0rc1
2015.1.0b3
2014.1.4
2014.2.2
2015.1.0b2
2015.1.0b1
2014.2.1
2014.2
2014.2.rc3
2014.2.rc2
2014.1.3
2014.2.rc1
havana-eol
2013.2.4
2014.2.b3
2014.1.2
2014.2.b2
2014.2.b1
2014.1.1
2014.1
2014.1.rc2
2013.2.3
2014.1.rc1
grizzly-eol
2014.1.b3
2013.2.2
2014.1.b2
2013.2.1
2014.1.b1
2013.1.4
2013.2
2013.2.rc2
2013.2.rc1
2013.2.b3
2013.1.3
2013.2.b2
2013.1.2
2013.2.b1
v7-branch-eol
v6-branch-eol
v5-branch-eol
v4-branch-eol
2013.1
2013.1.rc2
2013.1.rc1
2013.1.g3
grizzly-2
v7.release
v6.release
v5.release
v4.release
v3.release
v2-M1.release
v1-POC.release
${ noResults }
![]() Remove unnecessary using self.properties.get for more clear code. Using properties.get(prop, default) causes next issues: 1. properties.get(prop) if prop not in properties_schema will return None instead of expected KeyError. 2. properties.get(prop, default) returns "default" value if current properties is not presented in properties_schema. So using self.properties.get() makes sense only when we plan to use this property with default option in another resource, which has not it in property schema. This patch replaces this methods in resources/openstack folder. Change-Id: I523eb3feacb0cb7a16a928a92896ce56188e376f |
8 years ago | |
---|---|---|
.. | ||
__init__.py | Move swift resource | 8 years ago |
swift.py | Replace self.properties.get on self.properties[] | 8 years ago |