diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-16 20:35:03 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-16 20:35:03 +0200 |
commit | 97c2bbde7f91188c4d2c744018785c1b8b3b5e2e (patch) | |
tree | 8255675d439dacd1f76c4c24db50132fd632274d | |
parent | 46404442fbeb4676248d725c4c7f4e7f30979ee0 (diff) | |
download | portage-97c2bbde7f91188c4d2c744018785c1b8b3b5e2e.tar.gz portage-97c2bbde7f91188c4d2c744018785c1b8b3b5e2e.tar.bz2 portage-97c2bbde7f91188c4d2c744018785c1b8b3b5e2e.zip |
Fix typos in comments.
-rw-r--r-- | pym/portage/dep/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 9e1743e50..eed7a5eca 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -305,8 +305,8 @@ def use_reduce(depstr, uselist=[], masklist=[], matchall=False, excludeall=[], i mysplit = depstr.split() #Count the bracket level. level = 0 - #We parse into a stack. Every time we hit a "(", a new empty list is appended to the stack. - #When we hit a ')', the last list in the stack is mergeed with list on level up. + #We parse into a stack. Every time we hit a '(', a new empty list is appended to the stack. + #When we hit a ')', the last list in the stack is merged with list one level up. stack = [[]] #Set need_bracket to True after use conditionals or ||. Other tokens need to ensure #that need_bracket is not True. @@ -339,7 +339,7 @@ def use_reduce(depstr, uselist=[], masklist=[], matchall=False, excludeall=[], i #In 'flat' mode, we simply merge all lists into a single large one. if stack[level] and stack[level][-1][-1] == "?": #The last token before the '(' that matches the current ')' - #was a use conditional. The conditionl is removed in any case. + #was a use conditional. The conditional is removed in any case. #Merge the current list if needed. if is_active(stack[level][-1]): stack[level].pop() |