move hostname validation regex to skydns client
parent
5cc9f7f9a5
commit
6cb4976961
|
@ -1,8 +1,5 @@
|
|||
import re
|
||||
import oca
|
||||
|
||||
RE_VALIDNAME = re.compile('[^\w\d.-]')
|
||||
|
||||
|
||||
class OneClient(object):
|
||||
"""
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
import re
|
||||
import etcd
|
||||
|
||||
from onedns.logger import log
|
||||
|
||||
RE_VALIDNAME = re.compile('[^\w\d.-]')
|
||||
|
||||
|
||||
class SkyDNSClient(object):
|
||||
def __init__(self, etcd_kwargs={}):
|
||||
|
|
Loading…
Reference in New Issue