Merged from trunk 5597:5620
Use startswith and endswith to simplify code.
Fix typos from the previous commit.
purge string module from emerge (WarnerBro)
fix "" " " bug (WarnerBro)
another annoy space bug (WarnerBro)
purge string module from repoman (WarnerBro)
purge string from portage.py, fix minor bug in portage_util (WarnerBro)
Fix a typo.
Fix a typo.
Revert accidentally modified joins.
Fix more typos.
Fix another typo.
Add a few pretty basic comments on writing code, particularly things
that portage used to do (and still does) that are...a bit out of style
;) (WarnerBro)
ignore py[co] in tests (WarnerBro)
remove the last of the string module from portage.py (WarnerBro)
svn path=/main/branches/prefix/; revision=5622