projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bb514a2
)
ensure-dirs: Don't convert list to tuple
author
Michael Hanselmann
<hansmi@google.com>
Thu, 27 Sep 2012 14:42:33 +0000
(16:42 +0200)
committer
Michael Hanselmann
<hansmi@google.com>
Thu, 27 Sep 2012 14:46:29 +0000
(16:46 +0200)
Tuples are data structures, not containers.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
lib/tools/ensure_dirs.py
patch
|
blob
|
history
diff --git
a/lib/tools/ensure_dirs.py
b/lib/tools/ensure_dirs.py
index
ff24dae
..
c577e3b
100644
(file)
--- a/
lib/tools/ensure_dirs.py
+++ b/
lib/tools/ensure_dirs.py
@@
-194,7
+194,7
@@
def GetPaths():
getent.daemons_gid),
])
- return tuple(paths)
+ return paths
def SetupLogging(opts):