diff options
| author | Joel Andres Granados <jgranado@redhat.com> | 2007-11-22 15:27:40 +0100 |
|---|---|---|
| committer | Joel Andres Granados <jgranado@redhat.com> | 2007-11-22 15:27:40 +0100 |
| commit | 165a0ed22f453e9347a698d6411725c8d46caff5 (patch) | |
| tree | 295015d0f66f5d2d8425b6192b2763fbbfd4c6dd /tasker/plugins.py | |
| parent | 9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211 (diff) | |
| download | firstaidkit-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.py | 4 |
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) # |
