From 297657a2f68bbbbac8bf1c4b17853b571d61fe98 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Fri, 19 Aug 2011 11:04:59 +0200
Subject: [PATCH] ensure-dirs: Change wording of some messages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: RenΓ© Nussbaumer <rn@google.com>
---
 lib/tools/ensure_dirs.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/tools/ensure_dirs.py b/lib/tools/ensure_dirs.py
index d48b6f7ee..02a59a250 100644
--- a/lib/tools/ensure_dirs.py
+++ b/lib/tools/ensure_dirs.py
@@ -77,9 +77,9 @@ def EnsurePermission(path, mode, uid=-1, gid=-1, must_exist=True,
   except EnvironmentError, err:
     if err.errno == errno.ENOENT:
       if must_exist:
-        raise EnsureError("Path %s does not exists, but should" % path)
+        raise EnsureError("Path %s should exist, but does not" % path)
     else:
-      raise EnsureError("Error while changing permission on %s: %s" %
+      raise EnsureError("Error while changing permissions on %s: %s" %
                         (path, err))
 
 
@@ -286,8 +286,8 @@ def ParseOptions():
   parser.add_option(cli.DEBUG_OPT)
   parser.add_option(cli.VERBOSE_OPT)
   parser.add_option("--full-run", "-f", dest="full_run", action="store_true",
-                    default=False, help=("Make a full run and collect"
-                                         " additional files (time consuming)"))
+                    default=False, help=("Make a full run and set permissions"
+                                         " on archived jobs (time consuming)"))
 
   return parser.parse_args()
 
-- 
GitLab