summaryrefslogtreecommitdiffstats
path: root/tasker/plugins.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2007-11-22 15:27:40 +0100
committerJoel Andres Granados <jgranado@redhat.com>2007-11-22 15:27:40 +0100
commit165a0ed22f453e9347a698d6411725c8d46caff5 (patch)
tree295015d0f66f5d2d8425b6192b2763fbbfd4c6dd /tasker/plugins.py
parent9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211 (diff)
downloadfirstaidkit-165a0ed22f453e9347a698d6411725c8d46caff5.tar.gz
firstaidkit-165a0ed22f453e9347a698d6411725c8d46caff5.tar.xz
firstaidkit-165a0ed22f453e9347a698d6411725c8d46caff5.zip
Erase the return from the functions.
Diffstat (limited to 'tasker/plugins.py')
-rw-r--r--tasker/plugins.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tasker/plugins.py b/tasker/plugins.py
index eca96b4..2c479df 100644
--- a/tasker/plugins.py
+++ b/tasker/plugins.py
@@ -146,8 +146,6 @@ class Plugin(object):
self._state = self.cflow[state][result]
return self._state
except KeyError:
- import pdb
- pdb.set_trace()
raise InvalidFlowStateException(self.cflow)
#
@@ -168,7 +166,7 @@ class Plugin(object):
raise StopIteration()
else:
# Execute the function.
- self._result = getattr(self, func)()
+ getattr(self, func)()
return (self._state, self._result)
#