From: Simo Sorce Date: Fri, 18 Apr 2014 05:28:34 +0000 (-0400) Subject: Fix warning X-Git-Tag: v0.2.2~18 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=5afcc26a9956fe5842b3650afa155ce4f20aaa78 Fix warning Signed-off-by: Simo Sorce --- 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