summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/interpret.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-04-21 17:06:51 +0200
committerMartin Sivak <msivak@redhat.com>2008-04-21 17:06:51 +0200
commitf0cf45e0f2622f51fc45826cf4c26b6bf71bfad6 (patch)
treefac47ea85fb7e524269c17029c0c7a49cc55d45d /pyfirstaidkit/interpret.py
parentbe9ed347828b94aa6a8f7c097b34a74cbd882891 (diff)
downloadfirstaidkit-f0cf45e0f2622f51fc45826cf4c26b6bf71bfad6.tar.gz
firstaidkit-f0cf45e0f2622f51fc45826cf4c26b6bf71bfad6.tar.xz
firstaidkit-f0cf45e0f2622f51fc45826cf4c26b6bf71bfad6.zip
Make the flags and Tasker object reusable
Diffstat (limited to 'pyfirstaidkit/interpret.py')
-rw-r--r--pyfirstaidkit/interpret.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyfirstaidkit/interpret.py b/pyfirstaidkit/interpret.py
index 4a920da..beb2852 100644
--- a/pyfirstaidkit/interpret.py
+++ b/pyfirstaidkit/interpret.py
@@ -82,6 +82,7 @@ class Tasker:
self._provide.unprovide("root")
#initialize the startup set of flags
+ self._provide.reset()
for flag in self._config.operation._list("flags"):
self._provide.provide(flag)