Commit c6a2c16e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

locking: Remove unused OldStyleQueryLocks

No longer used after commit 09037780

.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 2ac41278
......@@ -1527,14 +1527,6 @@ class GanetiLockManager:
"""
return self._monitor.QueryLocks(fields)
def OldStyleQueryLocks(self, fields):
"""Queries information from all locks, returning old-style data.
See L{LockMonitor.OldStyleQueryLocks}.
"""
return self._monitor.OldStyleQueryLocks(fields)
def _names(self, level):
"""List the lock names at the given level.
......@@ -1808,14 +1800,3 @@ class LockMonitor(object):
# Prepare query response
return query.GetQueryResponse(qobj, ctx)
def OldStyleQueryLocks(self, fields):
"""Queries information from all locks, returning old-style data.
@type fields: list of strings
@param fields: List of fields to return
"""
(qobj, ctx) = self._Query(fields)
return qobj.OldStyleQuery(ctx)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment