raise an CommandError exception with an argument string '"%s" is not a valid IPv6 address.' where '%s' is replaced with self.addr.
raise CommandError ( '"%s" is not a valid IPv6 address.' % self . addr )