Changeset 6ccd9f4 in trunk
- Timestamp:
- 2019-03-14T15:23:16Z (7 years ago)
- Branches:
- master
- Children:
- 331b962
- Parents:
- e822d43
- git-author:
- Jean-Paul Calderone <exarkun@…> (2019-02-27 16:47:59)
- git-committer:
- Jean-Paul Calderone <exarkun@…> (2019-03-14 15:23:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/util/fake_inotify.py ¶
re822d43 r6ccd9f4 75 75 76 76 77 from eliot import start_action 78 77 79 # This class is not copied from Twisted; it acts as a mock. 78 80 class INotify(object): … … 90 92 91 93 def event(self, filepath, mask): 92 for cb in self.callbacks: 93 cb(None, filepath, mask) 94 with start_action(action_type=u"fake-inotify:event", path=filepath.path, mask=mask): 95 for cb in self.callbacks: 96 cb(None, filepath, mask) 94 97 95 98
Note: See TracChangeset
for help on using the changeset viewer.