Browse code

Merge "Revert "cleanup potentially installed older oslo.config""

Jenkins authored on 2014/08/06 12:34:16
Showing 2 changed files
... ...
@@ -84,7 +84,6 @@ if [[ -d $TOP_DIR/extras.d ]]; then
84 84
 fi
85 85
 
86 86
 # Clean projects
87
-cleanup_oslo
88 87
 cleanup_cinder
89 88
 cleanup_glance
90 89
 cleanup_keystone
... ...
@@ -39,10 +39,6 @@ OSLO_BIN_DIR=$(get_python_exec_prefix)
39 39
 
40 40
 # install_oslo() - Collect source and prepare
41 41
 function install_oslo {
42
-    # TODO(sdague): remove this once we get to Icehouse, this just makes
43
-    # for a smoother transition of existing users.
44
-    cleanup_oslo
45
-
46 42
     git_clone $CLIFF_REPO $CLIFF_DIR $CLIFF_BRANCH
47 43
     setup_install $CLIFF_DIR
48 44
 
... ...
@@ -74,17 +70,6 @@ function install_oslo {
74 74
     setup_install $TASKFLOW_DIR
75 75
 }
76 76
 
77
-# cleanup_oslo() - purge possibly old versions of oslo
78
-function cleanup_oslo {
79
-    # this means we've got an old oslo installed, lets get rid of it
80
-    if ! python -c 'import oslo.config' 2>/dev/null; then
81
-        echo "Found old oslo.config... removing to ensure consistency"
82
-        local PIP_CMD=$(get_pip_command)
83
-        pip_install oslo.config
84
-        sudo $PIP_CMD uninstall -y oslo.config
85
-    fi
86
-}
87
-
88 77
 # Restore xtrace
89 78
 $XTRACE
90 79