Skip to content

Commit

Permalink
keep 0.0.0.0 urls out of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Jul 16, 2012
1 parent 3e21285 commit c2fed57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions seeit-services/seeitservices/repo.py
Expand Up @@ -210,6 +210,9 @@ def check_all(self, req):
transformers = self.transformers
resp.write('Extractors:\n')
for url in list(transformers):
if '0.0.0.0' in url:
del transformers[url]
continue
try:
send_request(req, url)
except send_request.Error:
Expand All @@ -220,6 +223,9 @@ def check_all(self, req):
consumers = self.consumers
resp.write('Consumers:\n')
for url in list(consumers):
if '0.0.0.0' in url:
del consumers[url]
continue
try:
send_request(req, url)
except send_request.Error:
Expand Down

0 comments on commit c2fed57

Please sign in to comment.