fix missing import
This commit is contained in:
parent
b5b27227ea
commit
b2e3c2cc72
|
@ -24,6 +24,7 @@
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
from common import helpers
|
||||||
|
|
||||||
from xmpp.idlequeue import *
|
from xmpp.idlequeue import *
|
||||||
|
|
||||||
|
@ -121,7 +122,7 @@ class Resolver:
|
||||||
elif line.startswith(ufqdn):
|
elif line.startswith(ufqdn):
|
||||||
domain = ufqdn
|
domain = ufqdn
|
||||||
if domain:
|
if domain:
|
||||||
rest = line[len(host):].split('=')
|
rest = line[len(domain):].split('=')
|
||||||
if len(rest) != 2:
|
if len(rest) != 2:
|
||||||
continue
|
continue
|
||||||
answer_type, props_str = rest
|
answer_type, props_str = rest
|
||||||
|
|
Loading…
Reference in New Issue