mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
8a902e7810
commit
128cbd8695
@ -13,7 +13,7 @@ message contains `Fix #number` or `Implement #number`. Also updates the commit
|
|||||||
message with the summary of the closed bug.
|
message with the summary of the closed bug.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
import re, urllib, importlib, sys, json
|
import re, urllib, importlib, sys, json, socket
|
||||||
|
|
||||||
from lxml import html
|
from lxml import html
|
||||||
|
|
||||||
@ -22,6 +22,8 @@ LAUNCHPAD_BUG = 'https://bugs.launchpad.net/calibre/+bug/%s'
|
|||||||
GITHUB_BUG = 'https://api.github.com/repos/kovidgoyal/calibre/issues/%s'
|
GITHUB_BUG = 'https://api.github.com/repos/kovidgoyal/calibre/issues/%s'
|
||||||
BUG_PAT = r'(Fix|Implement|Fixes|Fixed|Implemented|See)\s+#(\d+)'
|
BUG_PAT = r'(Fix|Implement|Fixes|Fixed|Implemented|See)\s+#(\d+)'
|
||||||
|
|
||||||
|
socket.setdefaulttimeout(90)
|
||||||
|
|
||||||
class Bug:
|
class Bug:
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user