diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-07-16 16:25:59 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-07-16 16:25:59 +0000 |
commit | 0b4840afa99b1b093c8139dc8f7c19b1140e218f (patch) | |
tree | 41e51166c2547fe27b78e1c89d39888d44afdfc1 | |
parent | 0a622fb2e20470f368c16e814e15945d9767fa98 (diff) | |
download | bcfg2-0b4840afa99b1b093c8139dc8f7c19b1140e218f.tar.gz bcfg2-0b4840afa99b1b093c8139dc8f7c19b1140e218f.tar.bz2 bcfg2-0b4840afa99b1b093c8139dc8f7c19b1140e218f.zip |
Fix FileBacked class to catch created files again
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5342 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Server/Plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py index ff6eb9f22..5289dad56 100644 --- a/src/lib/Server/Plugin.py +++ b/src/lib/Server/Plugin.py @@ -194,7 +194,7 @@ class FileBacked(object): def HandleEvent(self, event=None): '''Read file upon update''' - if event and event.code2str() not in ['exists', 'changed']: + if event and event.code2str() not in ['exists', 'changed', 'created']: return try: self.data = file(self.name).read() |