s4/upgradeprovision: Typo and better word.
authorMichael Wood <esiotrot@gmail.com>
Sat, 8 Jan 2011 13:08:47 +0000 (15:08 +0200)
committerMatthieu Patou <mat@matws.net>
Sun, 13 Feb 2011 14:49:01 +0000 (17:49 +0300)
Signed-off-by: Matthieu Patou <mat@matws.net>
source4/scripting/bin/upgradeprovision

index 5b09ce6d32cfc769558cb33295283613f9fa115e..f0baabcfae0f0270063960f0a5a8f4b98f3575d8 100755 (executable)
@@ -265,7 +265,7 @@ def sanitychecks(samdb, names):
     elif len(res) != 1:
         print "Found %d domain controllers. For the moment " \
               "upgradeprovision is not able to handle an upgrade on a " \
-              "domain with more than one DC. PLease demote the other " \
+              "domain with more than one DC. Please demote the other " \
               "DC(s) before upgrading" % len(res)
         return False
     else:
@@ -1821,7 +1821,7 @@ if __name__ == '__main__':
 
         shutil.rmtree(provisiondir)
     except StandardError, err:
-        message(ERROR, "A problem occurred when trying to upgrade your "
+        message(ERROR, "A problem occurred while trying to upgrade your "
                        "provision. A full backup is located at %s" % backupdir)
         if opts.debugall or opts.debugchange:
             (typ, val, tb) = sys.exc_info()