Merge "ml2: _commit_port_binding: Don't use None to mean False"

This commit is contained in:
Jenkins 2015-08-17 11:46:11 +00:00 committed by Gerrit Code Review
commit 976dbe2084

View File

@ -360,7 +360,7 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
port_id)
if not port_db:
# The port has been deleted concurrently.
return (None, None)
return (None, False)
oport = self._make_port_dict(port_db)
port = self._make_port_dict(port_db)
network = new_context.network.current