Browse code

Merge "Remove duplicated isset function"

Jenkins authored on 2015/02/25 10:33:31
Showing 1 changed files
... ...
@@ -43,14 +43,6 @@ REGION_NAME=${REGION_NAME:-RegionOne}
43 43
 #  enable_service q-meta
44 44
 #  # Optional, to enable tempest configuration as part of devstack
45 45
 #  enable_service tempest
46
-function isset {
47
-    local nounset=$(set +o | grep nounset)
48
-    set +o nounset
49
-    [[ -n "${!1+x}" ]]
50
-    result=$?
51
-    $nounset
52
-    return $result
53
-}
54 46
 
55 47
 # this allows us to pass ENABLED_SERVICES
56 48
 if ! isset ENABLED_SERVICES ; then