From 19471c377fd85c32f35b496f8f5901df6746b533 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 14 Sep 2011 22:45:23 +0200 Subject: Fix typos in comments. --- bin/repoman | 4 ++-- pym/portage/tests/repoman/test_simple.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3-1-g7c22