summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Options.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Options.py')
-rw-r--r--src/lib/Bcfg2/Options.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py
index a69300178..e617e3e38 100644
--- a/src/lib/Bcfg2/Options.py
+++ b/src/lib/Bcfg2/Options.py
@@ -1064,18 +1064,6 @@ class OptionParser(OptionSet):
quiet=quiet)
self.optinfo = copy.copy(args)
- def HandleEvent(self, event):
- if 'configfile' not in self or not isinstance(self['configfile'], str):
- # we haven't parsed options yet, or CFILE wasn't included
- # in the options
- return
- if event.filename != self['configfile']:
- print("Got event for unknown file: %s" % event.filename)
- return
- if event.code2str() == 'deleted':
- return
- self.reparse()
-
def reparse(self):
for key, opt in self.optinfo.items():
self[key] = opt