From 7dfb4497f8c73be01bd3b81be50d90cdf0f3c1e8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 14 Mar 2006 03:39:36 +0000 Subject: Fix some typos in the DISTDIR permissions handling. svn path=/main/trunk/; revision=2875 --- pym/portage.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pym/portage.py') diff --git a/pym/portage.py b/pym/portage.py index 48388b277..40d01615d 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1839,17 +1839,17 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", all_applied = True try: all_applied = portage_util.apply_secpass_permissions(filename, gid=portage_gid, mode=0775) - except portage_exceptions.OperationNotPermitted: + except portage_exception.OperationNotPermitted: all_applied = False if not all_applied: - writemsg("!!! Unable to apply group permissions to '%s'." + \ - " Non-root users may experience issues.\n" % filename) + writemsg(("!!! Unable to apply group permissions to '%s'." \ + + " Non-root users may experience issues.\n") % filename) distdir_perms(mysettings["DISTDIR"]) if use_locks and locks_in_subdir: distlocks_subdir = os.path.join(mysettings["DISTDIR"], locks_in_subdir) try: distdir_perms(distlocks_subdir) - except portage_exceptions.FileNotFound: + except portage_exception.FileNotFound: os.mkdir(distlocks_subdir) distdir_perms(distlocks_subdir) if not os.access(distlocks_subdir, os.W_OK): -- cgit v1.2.3-1-g7c22