Changeset 9df7918 in mainline for tools/mkfat.py
- Timestamp:
- 2008-11-02T17:50:17Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6132b59
- Parents:
- e1c88d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/mkfat.py
re1c88d5 r9df7918 37 37 import array 38 38 39 exclude_names = set(['.svn']) 40 39 41 def align_up(size, alignment): 40 42 "Return size aligned up to alignment" … … 287 289 canon = os.path.join(root, name) 288 290 289 if (os.path.isfile(canon) ):291 if (os.path.isfile(canon) and (not name in exclude_names)): 290 292 rv = write_file(canon, outf, cluster_size, data_start, fat, reserved_clusters) 291 293 directory.append(create_dirent(name, False, rv[0], rv[1])) 292 294 293 if (os.path.isdir(canon) ):295 if (os.path.isdir(canon) and (not name in exclude_names)): 294 296 rv = recursion(False, canon, outf, cluster_size, root_start, data_start, fat, reserved_clusters, dirent_size, empty_cluster) 295 297 directory.append(create_dirent(name, True, rv[0], rv[1]))
Note:
See TracChangeset
for help on using the changeset viewer.