Fix typos in comments.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Wed, 14 Sep 2011 20:45:23 +0000 (22:45 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Wed, 14 Sep 2011 20:45:23 +0000 (22:45 +0200)
bin/repoman
pym/portage/tests/repoman/test_simple.py

index 65ac634cd333d2c7ea68f5a705dfb51a7436139a..f216a9bd1c079f861a131a99450de90f14f8d91a 100755 (executable)
@@ -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:
index 7717f367823583394797c63b08b81cb051accde1..ec27a0991cfe10da4a2cf83075c948cc5617acb4 100644 (file)
@@ -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