diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-15 22:36:16 (GMT) |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-15 22:36:16 (GMT) |
| commit | 2d0909b9cb9c4c2ab7cdc331b41044711bcd8a65 (patch) | |
| tree | 4c6df1dbfc605e58b51219e470ad9204c251170a /Mac/Modules/file/filesupport.py | |
| parent | a5caa6fcd9dea7091aa4749f18ee891b373797a0 (diff) | |
| download | cpython-2d0909b9cb9c4c2ab7cdc331b41044711bcd8a65.zip cpython-2d0909b9cb9c4c2ab7cdc331b41044711bcd8a65.tar.gz cpython-2d0909b9cb9c4c2ab7cdc331b41044711bcd8a65.tar.bz2 | |
Implemented FSCatalogInfo structure support, and used this to implement
FSSpec.SetDates() and GetDates(). Closes #662836.
Diffstat (limited to 'Mac/Modules/file/filesupport.py')
| -rw-r--r-- | Mac/Modules/file/filesupport.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Mac/Modules/file/filesupport.py b/Mac/Modules/file/filesupport.py index b3269e1..4f27963 100644 --- a/Mac/Modules/file/filesupport.py +++ b/Mac/Modules/file/filesupport.py @@ -413,7 +413,7 @@ class FSCatalogInfoDefinition(PEP253Mixin, ObjectDefinition): ), ] # The same info, but in a different form - INITFORMAT = "HhllO&O&O&O&O&(llll)llllllb" + INITFORMAT = "HhllO&O&O&O&O&llllllb" INITARGS = """&((FSCatalogInfoObject *)self)->ob_itself.nodeFlags, &((FSCatalogInfoObject *)self)->ob_itself.volume, &((FSCatalogInfoObject *)self)->ob_itself.parentDirID, @@ -423,10 +423,6 @@ class FSCatalogInfoDefinition(PEP253Mixin, ObjectDefinition): UTCDateTime_Convert, &((FSCatalogInfoObject *)self)->ob_itself.attributeModDate, UTCDateTime_Convert, &((FSCatalogInfoObject *)self)->ob_itself.accessDate, UTCDateTime_Convert, &((FSCatalogInfoObject *)self)->ob_itself.backupDate, - &((FSCatalogInfoObject *)self)->ob_itself.permissions[0], - &((FSCatalogInfoObject *)self)->ob_itself.permissions[1], - &((FSCatalogInfoObject *)self)->ob_itself.permissions[2], - &((FSCatalogInfoObject *)self)->ob_itself.permissions[3], &((FSCatalogInfoObject *)self)->ob_itself.valence, &((FSCatalogInfoObject *)self)->ob_itself.dataLogicalSize, &((FSCatalogInfoObject *)self)->ob_itself.dataPhysicalSize, @@ -444,7 +440,6 @@ class FSCatalogInfoDefinition(PEP253Mixin, ObjectDefinition): "atributeModDate", "accessDate", "backupDate", - "permissions", "valence", "dataLogicalSize", "dataPhysicalSize", |
