Reorder importing python modules

Path for python modules needs to be appended before
the module is imported

Closes-Bug: #1627685

Change-Id: I6001a7b01f3ba6c9a5179466a3165f2eace2e092
This commit is contained in:
Ante Karamatic 2016-09-26 12:19:36 +02:00
parent ff5c5c6ca4
commit 1825045580
1 changed files with 3 additions and 3 deletions

View File

@ -14,12 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from charmhelpers.core.hookenv import action_get, log, config, action_fail
import os
import sys
sys.path.append('hooks')
sys.path.append('hooks/')
from charmhelpers.core.hookenv import action_get, log, config, action_fail
import ceph