remove dnspython requirement, minor fixes

This commit is contained in:
Jay Lee
2019-07-02 12:21:51 -04:00
parent c8ecc23c9c
commit 2b23ae4e67
2 changed files with 3 additions and 3 deletions

View File

@@ -10522,8 +10522,9 @@ def doSiteVerifyAttempt():
else:
answer = 'no matching record found'
for possible_answer in answers:
if possible_answer['data'].startswith('google-site-verification='):
answer = possible_answer
possible_answer['data'] = possible_answer['data'].strip('"')
if possible_answer['data'].startswith('google-site-verification'):
answer = possible_answer['data']
break
else:
print('Unrelated TXT record: %s' % possible_answer['data'])

View File

@@ -1,5 +1,4 @@
python-dateutil
dnspython
google-api-python-client
google-auth
google-auth-httplib2