From 8879a8e85ee2cf69152aa56079ccac8a3a78a5ac Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 23 Oct 2010 18:51:34 +0200 Subject: Fix some typos and improve a message in repoman. --- bin/repoman | 11 +++++------ pym/portage/process.py | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/bin/repoman b/bin/repoman index d9b0d3464..7cd0fc472 100755 --- a/bin/repoman +++ b/bin/repoman @@ -618,7 +618,7 @@ repolevel = len(reposplit) if options.mode == 'commit' and repolevel not in [1,2,3]: print(red("***")+" Commit attempts *must* be from within a vcs co, category, or package directory.") print(red("***")+" Attempting to commit from a packages files directory will be blocked for instance.") - print(red("***")+" This is intended behaviour, to ensure the manifest is recommited for a package.") + print(red("***")+" This is intended behaviour, to ensure the manifest is recommitted for a package.") print(red("***")) err("Unable to identify level we're commiting from for %s" % '/'.join(reposplit)) @@ -2044,7 +2044,7 @@ else: myvcstree=portage.cvstree.getentries("./",recursive=1) myunadded=portage.cvstree.findunadded(myvcstree,recursive=1,basedir="./") except SystemExit as e: - raise # TODO propogate this + raise # TODO propagate this except: err("Error retrieving CVS tree; exiting.") if vcs == "svn": @@ -2052,7 +2052,7 @@ else: svnstatus=os.popen("svn status --no-ignore").readlines() myunadded = [ "./"+elem.rstrip().split()[1] for elem in svnstatus if elem.startswith("?") or elem.startswith("I") ] except SystemExit as e: - raise # TODO propogate this + raise # TODO propagate this except: err("Error retrieving SVN info; exiting.") if vcs == "git": @@ -2065,7 +2065,7 @@ else: bzrstatus=os.popen("bzr status -S .").readlines() myunadded = [ "./"+elem.rstrip().split()[1].split('/')[-1:][0] for elem in bzrstatus if elem.startswith("?") or elem[0:2] == " D" ] except SystemExit as e: - raise # TODO propogate this + raise # TODO propagate this except: err("Error retrieving bzr info; exiting.") if vcs == "hg": @@ -2256,8 +2256,7 @@ else: myheaders.append(myfile) print("%s have headers that will change." % green(str(len(myheaders)))) - print("* Files with headers will cause the " + \ - "manifests to be made and recommited.") + print("* Files with headers will cause the manifests to be changed and committed separately.") logging.info("myupdates: %s", myupdates) logging.info("myheaders: %s", myheaders) diff --git a/pym/portage/process.py b/pym/portage/process.py index e4d1d9523..3809ed8a0 100644 --- a/pym/portage/process.py +++ b/pym/portage/process.py @@ -209,7 +209,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False, raise CommandNotFound(mycommand[0]) # If we haven't been told what file descriptors to use - # default to propogating our stdin, stdout and stderr. + # default to propagating our stdin, stdout and stderr. if fd_pipes is None: fd_pipes = { 0:sys.stdin.fileno(), @@ -252,7 +252,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False, raise except Exception as e: # We need to catch _any_ exception so that it doesn't - # propogate out of this function and cause exiting + # propagate out of this function and cause exiting # with anything other than os._exit() sys.stderr.write("%s:\n %s\n" % (e, " ".join(mycommand))) traceback.print_exc() -- cgit v1.2.3-1-g7c22