From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 14 Sep 2011 20:45:23 +0000 (+0200) Subject: Fix typos in comments. X-Git-Tag: v2.2.0_alpha58~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19471c377fd85c32f35b496f8f5901df6746b533;p=portage.git Fix typos in comments. --- diff --git a/bin/repoman b/bin/repoman index 65ac634cd..f216a9bd1 100755 --- a/bin/repoman +++ b/bin/repoman @@ -642,8 +642,8 @@ if options.mode == 'commit' and repolevel not in [1,2,3]: print(red("***")) err("Unable to identify level we're commiting from for %s" % '/'.join(reposplit)) -# Make startdir relative to the cannonical repodir, so that we can pass -# it to digestgen and it won't have to be cannonicalized again. +# Make startdir relative to the canonical repodir, so that we can pass +# it to digestgen and it won't have to be canonicalized again. if repolevel == 1: startdir = repodir else: diff --git a/pym/portage/tests/repoman/test_simple.py b/pym/portage/tests/repoman/test_simple.py index 7717f3678..ec27a0991 100644 --- a/pym/portage/tests/repoman/test_simple.py +++ b/pym/portage/tests/repoman/test_simple.py @@ -141,7 +141,7 @@ class SimpleRepomanTestCase(TestCase): with open(os.path.join(portdir, cp, "metadata.xml"), 'w') as f: f.write(playground.metadata_xml_template % xml_data) # Use a symlink to portdir, in order to trigger bugs - # involving cannonical vs. non-canonical paths. + # involving canonical vs. non-canonical paths. portdir_symlink = os.path.join(eroot, "portdir_symlink") os.symlink(portdir, portdir_symlink) # repoman checks metadata.dtd for recent CTIME, so copy the file in