ensure-dirs: Don't convert list to tuple
authorMichael Hanselmann <hansmi@google.com>
Thu, 27 Sep 2012 14:42:33 +0000 (16:42 +0200)
committerMichael 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

index ff24dae..c577e3b 100644 (file)
@@ -194,7 +194,7 @@ def GetPaths():
      getent.daemons_gid),
     ])
 
-  return tuple(paths)
+  return paths
 
 
 def SetupLogging(opts):