Remove old hack for requirements

As magnum has been added in requirements project, we
not need to add such hack any more.

Closes-Bug: #1460874
Change-Id: I4f661c398186067cd2b5a1f3a13ae77bb3809396
This commit is contained in:
Kai Qiang Wu(Kennan) 2015-06-02 09:55:56 +08:00
parent c317bea209
commit fb9d067035

View File

@ -12,10 +12,6 @@ if is_service_enabled m-api m-cond; then
if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
echo_summary "Before Installing magnum"
mkdir -p $SCREEN_LOGDIR
if [[ -z `grep 'docker-py' ${REQUIREMENTS_DIR}/global-requirements.txt` ]]; then
sed -i 's/requests>=.*/requests>=2.5.2/g' ${REQUIREMENTS_DIR}/global-requirements.txt
echo "docker-py>=1.1.0" >> ${REQUIREMENTS_DIR}/global-requirements.txt
fi
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing magnum"
install_magnum