summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-22 20:37:43 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-22 20:37:43 +0000
commit8805e5544cbd9dd658a2ac89297983126e7a1d45 (patch)
tree0e524666cc16911098bf72a30bb3b25bd4935b20
parenta614131af2511c7625a65bb4d8866548e837f47d (diff)
downloadportage-8805e5544cbd9dd658a2ac89297983126e7a1d45.tar.gz
portage-8805e5544cbd9dd658a2ac89297983126e7a1d45.tar.bz2
portage-8805e5544cbd9dd658a2ac89297983126e7a1d45.zip
More namespace fixes.
svn path=/main/trunk/; revision=6581
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 681334c75..f0be27eba 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -9,7 +9,7 @@ from portage.elog import elog_process
from portage.exception import InvalidPackageName, InvalidAtom, \
UnsupportedAPIException, FileNotFound
from portage.locks import lockdir, unlockdir
-from portage.output import red, green
+from portage.output import bold, red, green
from portage.update import fixdbentries
from portage.util import apply_secpass_permissions, ConfigProtect, ensure_dirs, \
writemsg, writemsg_stdout, write_atomic, atomic_ofstream, writedict, \
@@ -1215,7 +1215,7 @@ class dblink(object):
# Always blind chmod 0 before unlinking to avoid race conditions.
os.chmod(obj, 0000)
if statobj.st_nlink > 1:
- portage.writemsg("setXid: "+str(st.st_nlink-1)+ \
+ writemsg("setXid: "+str(statobj.st_nlink-1)+ \
" hardlinks to '%s'\n" % obj)
os.unlink(obj)
except (OSError, IOError), e: