提交 43028f65 编写于 作者: D dongdaxiang

refine import path for ps_instance.py

test=develop
上级 178c47c0
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import ps_pb2 as pslib
class FileSystem(object): class FileSystem(object):
""" """
...@@ -37,6 +35,7 @@ class FileSystem(object): ...@@ -37,6 +35,7 @@ class FileSystem(object):
assert user != None assert user != None
assert passwd != None assert passwd != None
assert hadoop_bin != None assert hadoop_bin != None
import ps_pb2 as pslib
self.fs_client = pslib.FsClientParameter() self.fs_client = pslib.FsClientParameter()
#if fs_type == "afs": #if fs_type == "afs":
# fs_client.fs_type = pslib.FsApiType.AFS # fs_client.fs_type = pslib.FsApiType.AFS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册