summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-lorry-urls4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-lorry-urls b/scripts/check-lorry-urls
index 94d659c..0829684 100755
--- a/scripts/check-lorry-urls
+++ b/scripts/check-lorry-urls
@@ -102,10 +102,10 @@ def check_file(filename):
if result.info().get('Content-Type') \
!= 'application/mercurial-0.1':
error('no Mercurial server support detected')
+ else:
+ info('OK')
except (urllib.error.URLError, http.client.HTTPException) as e:
error(str(e))
- else:
- info('OK')
elif upstream_type == 'svn':
try_command(['svn', 'info', '--non-interactive', upstream_url])