Revision eb62069e lib/locking.py
b/lib/locking.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
1729 | 1729 |
key=_MonitorSortKey) |
1730 | 1730 |
|
1731 | 1731 |
# Extract lock information and build query data |
1732 |
return (qobj, query.LockQueryData(map(operator.itemgetter(0), lockinfo)))
|
|
1732 |
return (qobj, query.LockQueryData(map(compat.fst, lockinfo)))
|
|
1733 | 1733 |
|
1734 | 1734 |
def QueryLocks(self, fields): |
1735 | 1735 |
"""Queries information from all locks. |
Also available in: Unified diff