summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-13 00:20:02 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-13 00:20:02 +0000
commitcbe0d65898aba93ab28f50f659e5a61c9dc128f3 (patch)
treebffd48bc1adcba1f531d39d21af0995b9245bf22
parent90fe68184ba60bd14241b3978f164ced4eff8ebf (diff)
downloadportage-cbe0d65898aba93ab28f50f659e5a61c9dc128f3.tar.gz
portage-cbe0d65898aba93ab28f50f659e5a61c9dc128f3.tar.bz2
portage-cbe0d65898aba93ab28f50f659e5a61c9dc128f3.zip
Fix a typo from the last revision (octal literals begin with 0).
svn path=/main/trunk/; revision=3503
-rw-r--r--pym/elog_modules/mod_save.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/elog_modules/mod_save.py b/pym/elog_modules/mod_save.py
index fa728fe31..4e1cd2cf8 100644
--- a/pym/elog_modules/mod_save.py
+++ b/pym/elog_modules/mod_save.py
@@ -11,7 +11,7 @@ def process(mysettings, cpv, logentries, fulltext):
if not os.path.exists(elogdir):
os.makedirs(elogdir)
os.chown(elogdir, portage_uid, portage_gid)
- os.chmod(elogdir, 2770)
+ os.chmod(elogdir, 02770)
elogfilename = elogdir+"/"+cpv_path+":"+time.strftime("%Y%m%d-%H%M%S", time.gmtime(time.time()))+".log"
elogfile = open(elogfilename, "w")