diff options
author | Prashanth Pai <ppai@redhat.com> | 2016-08-10 15:28:48 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2016-08-10 18:20:57 +0530 |
commit | 655b0d2793386d2059b9c682e931035a83619917 (patch) | |
tree | c1dfcc19202af123b649767c6a0bb5c4b340bd63 /test/unit/gluster/test_utils.py | |
parent | d4b8804abb876bda9803cee61c6c4298b475e6be (diff) |
Move source files into gfapi/ dir
Currently, many source files are directly placed under gluster/ dir:
gluster/exceptions.py
gluster/gfapi.py
gluster/utils.py
When multiple packages (RPMs) are sharing the same gluster namespace,
these source files will conflict if there are source files with same
names provided by other projects.
Fix: Move all source files in gluster/* to gluster/gfapi/*
Note that this patch does not break how existing users import gfapi.
Change-Id: Idf9d07eefafe8333215d6c61201c97c982565ba9
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'test/unit/gluster/test_utils.py')
-rw-r--r-- | test/unit/gluster/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/gluster/test_utils.py b/test/unit/gluster/test_utils.py index 446bcd9..e58e225 100644 --- a/test/unit/gluster/test_utils.py +++ b/test/unit/gluster/test_utils.py @@ -10,8 +10,8 @@ import unittest -from gluster import utils -from gluster.exceptions import VolumeNotMounted +from gluster.gfapi import utils +from gluster.gfapi.exceptions import VolumeNotMounted class TestUtils(unittest.TestCase): |