diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-16 14:06:46 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-16 14:06:46 +0100 |
commit | ec4944dd95fb2e85b117861ff90b1adcdad75233 (patch) | |
tree | 23f1cc10fe41e9c089fd4f0b56655f52ef0828db /summainlib.py | |
parent | 02defb601adcdc9ed8701c723d200e49af228fb7 (diff) | |
download | summain-ec4944dd95fb2e85b117861ff90b1adcdad75233.tar.gz |
Add test for exclusion of fields.
Diffstat (limited to 'summainlib.py')
-rw-r--r-- | summainlib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/summainlib.py b/summainlib.py index e09e49c..48127d3 100644 --- a/summainlib.py +++ b/summainlib.py @@ -166,6 +166,8 @@ class FilesystemObject(object): self.open_file = open_file or file readlink = readlink or os.readlink + self.exclude = exclude + self.values = dict() self['Name'] = pn.normalize(filename) self['Mtime'] = self.format_time(stat_result.st_mtime) |