Report what invalid name was used and fix exception on raising the exception on
line 129
Signed-off-by: Simo Sorce <simo@redhat.com>
class NameIdNotAllowed(Exception):
class NameIdNotAllowed(Exception):
- def __init__(self):
- message = 'The specified Name ID is not allowed'
+ def __init__(self, id):
+ message = 'Name ID [%s] is not allowed' % id
super(NameIdNotAllowed, self).__init__(message)
self.message = message
super(NameIdNotAllowed, self).__init__(message)
self.message = message