Gentoo Archives: gentoo-portage-dev

From: Matt Turner <mattst88@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Matt Turner <mattst88@g.o>
Subject: [gentoo-portage-dev] [PATCH gentoolkit 1/2] eclean: Fix typos
Date: Thu, 02 Jan 2020 18:58:07
Message-Id: 20200102185800.538954-1-mattst88@gentoo.org
1 Signed-off-by: Matt Turner <mattst88@g.o>
2 ---
3 pym/gentoolkit/eclean/cli.py | 4 ++--
4 pym/gentoolkit/eclean/search.py | 2 +-
5 2 files changed, 3 insertions(+), 3 deletions(-)
6
7 diff --git a/pym/gentoolkit/eclean/cli.py b/pym/gentoolkit/eclean/cli.py
8 index 1d2f52b..1a99b3e 100644
9 --- a/pym/gentoolkit/eclean/cli.py
10 +++ b/pym/gentoolkit/eclean/cli.py
11 @@ -304,7 +304,7 @@ def parseArgs(options={}):
12 options['size-limit'] = 0
13 options['verbose'] = False
14 options['ignore-failure'] = False
15 - # if called by a well-named symlink, set the acction accordingly:
16 + # if called by a well-named symlink, set the action accordingly:
17 action = None
18 # temp print line to ensure it is the svn/branch code running, etc..
19 #print( "###### svn/branch/gentoolkit_eclean ####### ==> ", os.path.basename(sys.argv[0]))
20 @@ -400,7 +400,7 @@ def doAction(action,options,exclude={}, output=None):
21 )
22
23 # initialize our cleaner
24 - cleaner = CleanUp( output.progress_controller)
25 + cleaner = CleanUp(output.progress_controller)
26
27 # actually clean files if something was found
28 if clean_me:
29 diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py
30 index ce455a3..58bd97e 100644
31 --- a/pym/gentoolkit/eclean/search.py
32 +++ b/pym/gentoolkit/eclean/search.py
33 @@ -574,7 +574,7 @@ def findPackages(
34 del clean_me[cpv]
35 continue
36 if portage.cpv_getkey(cpv) in cp_all and port_dbapi.cpv_exists(cpv):
37 - # exlusion because of --package-names
38 + # exclusion because of --package-names
39 del clean_me[cpv]
40
41 # the getname method correctly supports FEATURES=binpkg-multi-instance,
42 --
43 2.24.1

Replies