eventlet/support/monotonic.py is copied by curl from specific version on Github. Change and run bin/pull-monotonic script to update to newer version. https://github.com/eventlet/eventlet/pull/388 https://github.com/eventlet/eventlet/pull/303
9 lines
312 B
Bash
Executable File
9 lines
312 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
|
|
version=${1-"8447153178046158fe10d927cd358e0088587bca"}
|
|
path="./eventlet/support/monotonic.py"
|
|
url="https://raw.githubusercontent.com/atdt/monotonic/${version}/monotonic.py"
|
|
rm -f ${path}
|
|
curl --fail --location --silent --show-error -o${path} ${url}
|