[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/context.py In tarfile.filemode for directories use the more understandable octal 0755 instead of the decimal 493; thanks Wichert.

Maurits van Rees m.van.rees at zestsoftware.nl
Thu Mar 4 09:20:59 EST 2010


Log message for revision 109648:
  In tarfile.filemode for directories use the more understandable octal 0755 instead of the decimal 493; thanks Wichert.

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/context.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/context.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/context.py	2010-03-04 13:58:59 UTC (rev 109647)
+++ Products.GenericSetup/trunk/Products/GenericSetup/context.py	2010-03-04 14:20:57 UTC (rev 109648)
@@ -445,8 +445,8 @@
             if path not in self._archive.getnames():
                 info = TarInfo(path)
                 info.type = DIRTYPE
-                # tarfile.filemode(493) == '-rwxr-xr-x'
-                info.mode = 493
+                # tarfile.filemode(0755) == '-rwxr-xr-x'
+                info.mode = 0755
                 info.mtime = time.time()
                 self._archive.addfile(info)
             parents.pop()



More information about the checkins mailing list