aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-03-07 04:14:36 +0000
committerBrian Harring <ferringb@gentoo.org>2005-03-07 04:14:36 +0000
commit306f4eb63eca0753831397fe14d4ceb4a22aea68 (patch)
treea187216c99162ff605d16055e21233c6331acfdb
parentuse it, love it, fix it. (diff)
downloadportage-cvs-306f4eb63eca0753831397fe14d4ceb4a22aea68.tar.gz
portage-cvs-306f4eb63eca0753831397fe14d4ceb4a22aea68.tar.bz2
portage-cvs-306f4eb63eca0753831397fe14d4ceb4a22aea68.zip
Harring's rule of CVS: "the bugs do not appear until the delta has been commited to a repository"
-rwxr-xr-xbin/repoman4
-rw-r--r--pym/config.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index b7d90da..4750785 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1,7 +1,7 @@
#!/usr/bin/python -O
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/repoman,v 1.110 2005/02/26 04:14:19 jstubbs Exp $
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/repoman,v 1.111 2005/03/07 04:14:36 ferringb Exp $
# Next to do: dep syntax checking in mask files
# Then, check to make sure deps are satisfiable (to avoid "can't find match for" problems)
@@ -986,7 +986,7 @@ for x in scanlist:
if myuse[mypos] and (myuse[mypos] in uselist):
del myuse[mypos]
# uselist checks - local
- mykey = portage.dep_getkey(catpkg)
+ mykey = portage.portage_dep.dep_getkey(catpkg)
if luselist.has_key(mykey):
for mypos in range(len(myuse)-1,-1,-1):
if myuse[mypos] and (myuse[mypos] in luselist[mykey]):
diff --git a/pym/config.py b/pym/config.py
index 93fd217..b616fe9 100644
--- a/pym/config.py
+++ b/pym/config.py
@@ -99,7 +99,7 @@ class config:
# The symlink might not exist or might not be a symlink.
try:
self.profiles=[abssymlink(self.profile_path)]
- except (OSError, IOErrror):
+ except (OSError, IOError):
self.profiles=[self.profile_path]
mypath = self.profiles[0]