projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b15427
)
mcpu: Log lock status with sorted names
author
Michael Hanselmann
<hansmi@google.com>
Tue, 12 Jan 2010 14:13:05 +0000
(15:13 +0100)
committer
Michael Hanselmann
<hansmi@google.com>
Wed, 13 Jan 2010 13:02:41 +0000
(14:02 +0100)
Reading and comparing sorted lists is easier when debugging locking problems.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/mcpu.py
patch
|
blob
|
history
diff --git
a/lib/mcpu.py
b/lib/mcpu.py
index
af4ff1a
..
933d596
100644
(file)
--- a/
lib/mcpu.py
+++ b/
lib/mcpu.py
@@
-275,7
+275,7
@@
class Processor(object):
elif isinstance(names, basestring):
parts.append(names)
else:
- parts.append(",".join(names))
+ parts.append(",".join(sorted(names)))
if shared:
parts.append("shared")