mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
fix crash on non-resolveable URLs
This commit is contained in:
@@ -49,6 +49,8 @@ def fetch_page(url):
|
||||
except IOError as e:
|
||||
logger('warn', 'failed: ' + e.errno)
|
||||
|
||||
return (None, None)
|
||||
|
||||
def extract_title(url):
|
||||
if 'repo/urlbot.git' in url:
|
||||
logger('info', 'repo URL found: ' + url)
|
||||
|
||||
Reference in New Issue
Block a user