Fix the bug #198398 code from trunk to be compatible with the code
authorZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 21:53:48 +0000 (21:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 21:53:48 +0000 (21:53 -0000)
in this branch.

svn path=/main/branches/2.1.2/; revision=8919

bin/repoman

index bb12feec484d634df4631ee577d15c3442aaf5c6..ee6920f789d000d36718ad3ceba9da9e444292a7 100755 (executable)
@@ -413,8 +413,8 @@ if os.path.isdir("CVS"):
        isCvs = True
 
 if isCvs and \
-       "commit" == options.mode and \
-       "RMD160" not in portage.checksum.hashorigin_map:
+       "commit" == mymode and \
+       "RMD160" not in portage_checksum.hashorigin_map:
        from portage_util import grablines
        repo_lines = grablines("./CVS/Repository")
        if repo_lines and \