UBUNTU: [Packaging] resync git-ubuntu-log
BugLink: https://bugs.launchpad.net/bugs/1786013 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
Vendored
+1
-1
@@ -120,7 +120,7 @@ for key in keys:
|
||||
try:
|
||||
# urllib.request.urlcleanup()
|
||||
request = urllib.request.Request('https://api.launchpad.net/devel/bugs/' + bug)
|
||||
request.add_header('Cache-Control', 'max-age=0')
|
||||
request.add_header('Cache-Control', 'no-cache')
|
||||
with urllib.request.urlopen(request) as response:
|
||||
data = response.read()
|
||||
bug_info = json.loads(data.decode('utf-8'))
|
||||
|
||||
Reference in New Issue
Block a user