fixes error logging to use the right exception parent class

looks like this was missed

Closes-Bug: #1416798
Change-Id: If68c13b550d665dfa24b7380f53bee7f6fccdb23
This commit is contained in:
Matthew Thode 2015-02-01 00:13:59 -06:00
parent 64bd24f9d6
commit 81ba365150
1 changed files with 1 additions and 1 deletions

View File

@ -1183,7 +1183,7 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
LOG.debug("No ports have port_id starting with %s",
port_id)
return
except exc.MultipleResultsFound:
except sa_exc.MultipleResultsFound:
LOG.error(_LE("Multiple ports have port_id starting with %s"),
port_id)
return