remove check for network_delay

This commit is contained in:
Jannes Höke 2015-11-10 23:12:20 +01:00
parent 61dac76bee
commit 93afd3eabe

View file

@ -86,10 +86,7 @@ def post(url,
# Add time to the timeout of urlopen to allow data to be transferred over
# the network.
if 'timeout' in data:
if network_delay:
timeout = data['timeout'] + network_delay
else:
timeout = data['timeout']
timeout = data['timeout'] + network_delay
else:
timeout = None