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:
parent
ff5c5c6ca4
commit
1825045580
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue