mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
another round... ported to __SC__
This commit is contained in:
parent
295d171650
commit
9784295b15
14 changed files with 158 additions and 209 deletions
|
@ -136,8 +136,10 @@ def unpack(desc):
|
|||
|
||||
|
||||
def mkfss(data):
|
||||
print "mkfss data =", `data`
|
||||
vol, dir, fnlen = struct.unpack('hlb', data[:7])
|
||||
filename = data[7:7+fnlen]
|
||||
print (vol, dir, fnlen, filename)
|
||||
return macfs.FSSpec((vol, dir, filename))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue