diff options
author | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-06-26 22:47:16 +0200 |
---|---|---|
committer | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-06-26 22:47:16 +0200 |
commit | 3e5456932f02e1892d9733887669b0479ca99493 (patch) | |
tree | 329ae726942452d707707ec5fede5172fa494bf8 /src/lib | |
parent | 2db056574f5f55c3c802da63abe7e3de10db5d76 (diff) | |
download | bcfg2-3e5456932f02e1892d9733887669b0479ca99493.tar.gz bcfg2-3e5456932f02e1892d9733887669b0479ca99493.tar.bz2 bcfg2-3e5456932f02e1892d9733887669b0479ca99493.zip |
Handle :info file removal
Handle the removal of :info files in the same way as the removal of info
files (without leading colon) is handled.
Diffstat (limited to 'src/lib')
-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 30c4f9686..f1d9ce75f 100644 --- a/src/lib/Server/Plugin.py +++ b/src/lib/Server/Plugin.py @@ -838,7 +838,7 @@ class EntrySet: """Reset metadata to defaults if info or info.xml removed.""" if event.filename == 'info.xml': self.infoxml = None - elif event.filename == 'info': + elif event.filename in [':info', 'info']: self.metadata = default_file_metadata.copy() def group_sortfunc(self, x, y): |