Fix a typo from the last revision (octal literals begin with 0).
authorZac Medico <zmedico@gentoo.org>
Tue, 13 Jun 2006 00:20:02 +0000 (00:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 13 Jun 2006 00:20:02 +0000 (00:20 -0000)
svn path=/main/trunk/; revision=3503

pym/elog_modules/mod_save.py

index fa728fe318adcf9d8bd79178e53570e952587b71..4e1cd2cf8fc384ba95c85a4873602e87dad588b3 100644 (file)
@@ -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")