153
153
raise ValueError, _("%s name can only contain alphanumeric, '_', '.', "
154
154
"or '-' characters") % name_type
163
form = re.match("^([0-9a-fA-F]{1,2}:){5}[0-9a-fA-F]{1,2}$", val)
156
167
def xml_append(orig, new):
158
169
Little function that helps generate consistent xml