File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -356,11 +356,12 @@ def do_remote(self):
356
356
357
357
try :
358
358
LOGGER .debug ('KeyBundle fetch keys from: %s' , self .source )
359
+ httpc_params = self .httpc_params .copy ()
359
360
if self .last_remote is not None :
360
- if "headers" not in self . httpc_params :
361
- self . httpc_params ["headers" ] = {}
362
- self . httpc_params ["headers" ]["If-Modified-Since" ] = self .last_remote
363
- _http_resp = self .httpc ('GET' , self .source , ** self . httpc_params )
361
+ if "headers" not in httpc_params :
362
+ httpc_params ["headers" ] = {}
363
+ httpc_params ["headers" ]["If-Modified-Since" ] = self .last_remote
364
+ _http_resp = self .httpc ('GET' , self .source , ** httpc_params )
364
365
except Exception as err :
365
366
LOGGER .error (err )
366
367
raise UpdateFailed (
You can’t perform that action at this time.
0 commit comments