From: Marius Mauch Date: Fri, 24 Mar 2006 23:40:41 +0000 (-0000) Subject: PORTAGE_WORKDIR_MODE is octal X-Git-Tag: v2.1_pre7~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b649d3e9234448c83f94d90fef0c681c227a1d2f;p=portage.git PORTAGE_WORKDIR_MODE is octal svn path=/main/trunk/; revision=2994 --- diff --git a/pym/portage.py b/pym/portage.py index 2673c7063..db69e881c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2546,7 +2546,7 @@ def prepare_build_dirs(myroot, mysettings, cleanup): try: mode = mysettings["PORTAGE_WORKDIR_MODE"] if mode.isdigit(): - parsed_mode = int(mode) + parsed_mode = int(mode, 8) elif mode == "": raise KeyError() else: