mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
fix up a few test and lint errors related to external logging
This commit is contained in:
committed by
Christian Adams
parent
b942fde59a
commit
39648b4f0b
@@ -184,7 +184,7 @@ class SettingLoggingTest(GenericAPIView):
|
||||
# if http/https by this point, domain is reacheable
|
||||
return Response(status=status.HTTP_202_ACCEPTED)
|
||||
|
||||
if protocol is 'udp':
|
||||
if protocol == 'udp':
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
else:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
|
||||
Reference in New Issue
Block a user