Changeset 9df7918 in mainline for tools/mktmpfs.py
- Timestamp:
- 2008-11-02T17:50:17Z (16 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/mktmpfs.py
re1c88d5 r9df7918 34 34 import os 35 35 import xstruct 36 37 exclude_names = set(['.svn']) 36 38 37 39 HEADER = """little: … … 71 73 canon = os.path.join(root, name) 72 74 73 if (os.path.isfile(canon) ):75 if (os.path.isfile(canon) and (not name in exclude_names)): 74 76 size = os.path.getsize(canon) 75 77 … … 90 92 inf.close() 91 93 92 if (os.path.isdir(canon) ):94 if (os.path.isdir(canon) and (not name in exclude_names)): 93 95 dentry = xstruct.create(DENTRY_DIRECTORY % len(name)) 94 96 dentry.kind = TMPFS_DIRECTORY
Note:
See TracChangeset
for help on using the changeset viewer.