Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Removed bad print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor-stfc committed Jan 26, 2017
1 parent d73956f commit 203cdfa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jasmin_metadata/models/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,6 @@ def validate_reverse_dns(self, value):
except ValueError:
return
try:
print(value)
print(socket.gethostbyaddr(value))
_ = socket.gethostbyaddr(value)[0]
except Exception:
raise ValidationError('Reverse DNS lookup failed')
Expand Down

0 comments on commit 203cdfa

Please sign in to comment.