summaryrefslogtreecommitdiffstats
path: root/nova/auth
diff options
context:
space:
mode:
authorEd Leafe <ed@leafe.com>2010-12-17 11:24:06 -0600
committerEd Leafe <ed@leafe.com>2010-12-17 11:24:06 -0600
commit56a0dfde6e7d598df15bdce2541cd60c7757f557 (patch)
tree997fe10d6901980002eacdd23db716cc6549158a /nova/auth
parent02d2e305bd71aec3f723a42da620d2939e041f0c (diff)
downloadnova-56a0dfde6e7d598df15bdce2541cd60c7757f557.tar.gz
nova-56a0dfde6e7d598df15bdce2541cd60c7757f557.tar.xz
nova-56a0dfde6e7d598df15bdce2541cd60c7757f557.zip
pep8 cleanup
Diffstat (limited to 'nova/auth')
-rw-r--r--nova/auth/fakeldap.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/auth/fakeldap.py b/nova/auth/fakeldap.py
index e46bb91ab..1ac579dbd 100644
--- a/nova/auth/fakeldap.py
+++ b/nova/auth/fakeldap.py
@@ -82,8 +82,6 @@ class _StorageDict(dict):
hashdict[field] = val
-
-
SCOPE_BASE = 0
SCOPE_ONELEVEL = 1 # Not implemented
SCOPE_SUBTREE = 2
@@ -218,7 +216,6 @@ class FakeLDAP(object):
value_dict = dict([(k, _to_json(v)) for k, v in attr])
Store.instance().hmset(key, value_dict)
-
def delete_s(self, dn):
"""Remove the ldap object at specified dn."""
Store.instance().delete("%s%s" % (self.__prefix, dn))