PORTAGE_WORKDIR_MODE is octal
authorMarius Mauch <genone@gentoo.org>
Fri, 24 Mar 2006 23:40:41 +0000 (23:40 -0000)
committerMarius Mauch <genone@gentoo.org>
Fri, 24 Mar 2006 23:40:41 +0000 (23:40 -0000)
svn path=/main/trunk/; revision=2994

pym/portage.py

index 2673c706303428da2f2a77c7c0688dee036acda1..db69e881c275623430af4c3c4024bff0f1c34a42 100644 (file)
@@ -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: