Fix warning
authorSimo Sorce <simo@redhat.com>
Fri, 18 Apr 2014 05:28:34 +0000 (01:28 -0400)
committerSimo Sorce <simo@redhat.com>
Fri, 18 Apr 2014 05:28:53 +0000 (01:28 -0400)
Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/providers/saml2/provider.py

index c44c8b8..8b7f04e 100755 (executable)
@@ -33,8 +33,8 @@ class InvalidProviderId(ProviderException):
 
 class NameIdNotAllowed(Exception):
 
 
 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
 
         super(NameIdNotAllowed, self).__init__(message)
         self.message = message