summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/errors.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-01-02 14:59:54 +0100
committerMartin Sivak <msivak@redhat.com>2008-01-02 15:02:55 +0100
commit1bc6bc97e693968de3f815d1f595f49a25491203 (patch)
tree7d3f2385d8b13d6eb255da5f2567829badcfd00f /pyfirstaidkit/errors.py
parent03d19f937f93df69c45175274acb6e7f75207ec0 (diff)
downloadfirstaidkit-1bc6bc97e693968de3f815d1f595f49a25491203.tar.gz
firstaidkit-1bc6bc97e693968de3f815d1f595f49a25491203.tar.xz
firstaidkit-1bc6bc97e693968de3f815d1f595f49a25491203.zip
Fix the __init__ of Invalid Flow Name exception
Diffstat (limited to 'pyfirstaidkit/errors.py')
-rw-r--r--pyfirstaidkit/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyfirstaidkit/errors.py b/pyfirstaidkit/errors.py
index 61a04be..b967bc9 100644
--- a/pyfirstaidkit/errors.py
+++ b/pyfirstaidkit/errors.py
@@ -23,7 +23,7 @@ class InvalidFlowStateException(Exception):
return self.message
class InvalidFlowNameException(Exception):
- def __init__(self, name, flow):
+ def __init__(self, name):
self.message="There are no flows by the name of %s" % name
def __str__(self):
return self.message