summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-04-18 01:28:34 -0400
committerSimo Sorce <simo@redhat.com>2014-04-18 01:28:53 -0400
commit5afcc26a9956fe5842b3650afa155ce4f20aaa78 (patch)
treeddd0485ab33a8f6c7a7bace219a77ec972ba8e22
parent1daacfc30b2b6d3afbcf1dc7a7c4fae07a226d04 (diff)
downloadipsilon-5afcc26a9956fe5842b3650afa155ce4f20aaa78.tar.gz
ipsilon-5afcc26a9956fe5842b3650afa155ce4f20aaa78.tar.xz
ipsilon-5afcc26a9956fe5842b3650afa155ce4f20aaa78.zip
Fix warning
Signed-off-by: Simo Sorce <simo@redhat.com>
-rwxr-xr-xipsilon/providers/saml2/provider.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsilon/providers/saml2/provider.py b/ipsilon/providers/saml2/provider.py
index c44c8b8..8b7f04e 100755
--- a/ipsilon/providers/saml2/provider.py
+++ b/ipsilon/providers/saml2/provider.py
@@ -33,8 +33,8 @@ class InvalidProviderId(ProviderException):
class NameIdNotAllowed(Exception):
- def __init__(self, id):
- message = 'Name ID [%s] is not allowed' % id
+ def __init__(self, nid):
+ message = 'Name ID [%s] is not allowed' % nid
super(NameIdNotAllowed, self).__init__(message)
self.message = message