summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-03-24 23:40:41 +0000
committerMarius Mauch <genone@gentoo.org>2006-03-24 23:40:41 +0000
commitb649d3e9234448c83f94d90fef0c681c227a1d2f (patch)
tree09623321da8238fb9a61b0e6e4dcb031b2240565
parent8cc27fd51049945f21b0e7480e3ffb652785b2d0 (diff)
downloadportage-b649d3e9234448c83f94d90fef0c681c227a1d2f.tar.gz
portage-b649d3e9234448c83f94d90fef0c681c227a1d2f.tar.bz2
portage-b649d3e9234448c83f94d90fef0c681c227a1d2f.zip
PORTAGE_WORKDIR_MODE is octal
svn path=/main/trunk/; revision=2994
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
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: