remove wrong expression
if list is empty ,it will still go into 'if' , not 'else' Change-Id: I181dbd83411f7898e0cb1e95715c9568e3074bab
This commit is contained in:
parent
759c01080d
commit
5b5712c826
@ -90,7 +90,7 @@ class RequestContext(context.RequestContext):
|
||||
if s.get('type') in
|
||||
('identity', 'compute', 'object-store')]
|
||||
else:
|
||||
# if list is empty or none
|
||||
# if list is none
|
||||
self.service_catalog = []
|
||||
|
||||
# # We need to have RequestContext attributes defined
|
||||
|
Loading…
Reference in New Issue
Block a user