Merge "Don't depend on string interning"
This commit is contained in:
commit
0adf368b2b
@ -144,7 +144,7 @@ class L7Rule(neutron.NeutronResource):
|
||||
|
||||
def handle_create(self):
|
||||
rule_args = dict((k, v) for k, v in self.properties.items()
|
||||
if k is not self.L7POLICY)
|
||||
if k != self.L7POLICY)
|
||||
return rule_args
|
||||
|
||||
def check_create_complete(self, rule_args):
|
||||
|
@ -1338,7 +1338,7 @@ class Stack(collections.Mapping):
|
||||
self.reset_dependencies()
|
||||
self._resources = None
|
||||
|
||||
if action is not self.CREATE:
|
||||
if action != self.CREATE:
|
||||
self.updated_time = oslo_timeutils.utcnow()
|
||||
|
||||
if new_stack is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user