Commit a411b72b authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Remove debug output

parent 88ac8061
......@@ -903,15 +903,11 @@ class Meta(DatabaseModel):
return self.protocol
def is_url(self):
print(self.value)
url = urlparse(self.value)
if not url.scheme == "https":
print(self.value, 1)
return False
if not url.netloc or url.netloc not in config.PERMITTED_METADATA_DOMAINS:
print(self.value, 2)
return False
print(self.value, 3)
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment