~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to setup/git_pre_commit_hook.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mfrom: (1.5.10)
  • Revision ID: package-import@ubuntu.com-20140514181750-xyrxqa47dbw0qfhu
Tags: 1.36.0+dfsg-1
* New upstream release:
  - Fixes editing of metadata (Closes: #741638)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
message with the summary of the closed bug.
14
14
 
15
15
'''
16
 
import re, urllib, importlib, sys, json
 
16
import re, urllib, importlib, sys, json, socket
17
17
 
18
18
from lxml import html
19
19
 
22
22
GITHUB_BUG = 'https://api.github.com/repos/kovidgoyal/calibre/issues/%s'
23
23
BUG_PAT = r'(Fix|Implement|Fixes|Fixed|Implemented|See)\s+#(\d+)'
24
24
 
 
25
socket.setdefaulttimeout(90)
 
26
 
25
27
class Bug:
26
28
 
27
29
    def __init__(self):