summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornandal <nandalemail@gmail.com>2015-11-09 06:45:45 -0500
committernandal <nandalemail@gmail.com>2015-11-09 06:57:54 -0500
commitdcbf7b81a889a86d62d36b61dd7035ac91ce5822 (patch)
treee434a4c7a3c7a6f726ad9a96636b49a12680c410
parentf93f311052c40b5bc081c4348a417295cef76fbf (diff)
downloadoslo-db-dcbf7b81a889a86d62d36b61dd7035ac91ce5822.tar.gz
Removed Unused variable 'drivertype'
Fixes bug #1514399 Change-Id: I06154bdafb2be6d5ae65fc9d51c0dc7fafcaa8aa
-rw-r--r--oslo_db/sqlalchemy/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_db/sqlalchemy/provision.py b/oslo_db/sqlalchemy/provision.py
index 654678a..410d04f 100644
--- a/oslo_db/sqlalchemy/provision.py
+++ b/oslo_db/sqlalchemy/provision.py
@@ -312,7 +312,7 @@ class Backend(object):
for url_str in configured_urls:
url = sa_url.make_url(url_str)
m = re.match(r'([^+]+?)(?:\+(.+))?$', url.drivername)
- database_type, drivertype = m.group(1, 2)
+ database_type = m.group(1)
Backend(database_type, url)