diff options
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-x | scripts/contrib/verify-homepage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py index 76f1749cfa..cc6e797d8b 100755 --- a/scripts/contrib/verify-homepage.py +++ b/scripts/contrib/verify-homepage.py | |||
@@ -27,7 +27,7 @@ logger = scriptutils.logger_create('verify_homepage') | |||
27 | def wgetHomepage(pn, homepage): | 27 | def wgetHomepage(pn, homepage): |
28 | result = subprocess.call('wget ' + '-q -T 5 -t 1 --spider ' + homepage, shell = True) | 28 | result = subprocess.call('wget ' + '-q -T 5 -t 1 --spider ' + homepage, shell = True) |
29 | if result: | 29 | if result: |
30 | logger.warn("%s: failed to verify HOMEPAGE: %s " % (pn, homepage)) | 30 | logger.warning("%s: failed to verify HOMEPAGE: %s " % (pn, homepage)) |
31 | return 1 | 31 | return 1 |
32 | else: | 32 | else: |
33 | return 0 | 33 | return 0 |