Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyug committed Feb 13, 2017
1 parent f6cc3c3 commit 2872a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homedns/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def lookup_local(request, reply):
for r in reply.rr:
logger.warn('\t\t%s(%s)' % (r.rdata, QTYPE[r.rtype]))
else:
logger.warn('\tReturn: \n\t\tN/A')
logger.warn('\t\tN/A')

return indomain

Expand Down Expand Up @@ -237,7 +237,7 @@ def lookup_upstream_by_server(request, reply, server, proxy):
for r in reply.rr:
logger.warn('\t\t%s(%s)' % (r.rdata, QTYPE[r.rtype]))
else:
logger.warn('\n\t\tN/A')
logger.warn('\t\tN/A')
except socket.error as err:
frm = '%(ip)s:%(port)s(%(priority)s)' % server
if server['proxy']:
Expand Down

0 comments on commit 2872a8b

Please sign in to comment.