summaryrefslogtreecommitdiffstats
path: root/tasker/errors.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2007-11-23 15:41:52 +0100
committerJoel Andres Granados <jgranado@redhat.com>2007-11-23 15:41:52 +0100
commit6ad376ee2a4cb6389a1a0f30279c8031180d48e4 (patch)
treefd21acb25e15c0782358ae97be7f9eaac5ec0bce /tasker/errors.py
parent165a0ed22f453e9347a698d6411725c8d46caff5 (diff)
downloadfirstaidkit-6ad376ee2a4cb6389a1a0f30279c8031180d48e4.tar.gz
firstaidkit-6ad376ee2a4cb6389a1a0f30279c8031180d48e4.tar.xz
firstaidkit-6ad376ee2a4cb6389a1a0f30279c8031180d48e4.zip
Take the plugin info attributes aoutside the __init__. This allows us
to query plugin information without instantiating.
Diffstat (limited to 'tasker/errors.py')
-rw-r--r--tasker/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasker/errors.py b/tasker/errors.py
index f2cf61d..61a04be 100644
--- a/tasker/errors.py
+++ b/tasker/errors.py
@@ -24,6 +24,6 @@ class InvalidFlowStateException(Exception):
class InvalidFlowNameException(Exception):
def __init__(self, name, flow):
- self.message="%s does not exist in % flow" % (name, flow)
+ self.message="There are no flows by the name of %s" % name
def __str__(self):
return self.message