mirror of
https://github.com/gluster/glusterfs.git
synced 2026-02-06 09:48:44 +01:00
This patch fixes import issue in cliutils. Provided solution is to use relative import. Change-Id: I14c9a0b528ef52e7c91f6b17b569c68c2ced8912 updates: #411 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
32 lines
956 B
Python
32 lines
956 B
Python
# -*- coding: utf-8 -*-
|
|
# Reexporting the utility funcs and classes
|
|
from .cliutils import (runcli,
|
|
sync_file_to_peers,
|
|
execute_in_peers,
|
|
execute,
|
|
node_output_ok,
|
|
node_output_notok,
|
|
output_error,
|
|
oknotok,
|
|
yesno,
|
|
get_node_uuid,
|
|
Cmd,
|
|
GlusterCmdException,
|
|
set_common_args_func)
|
|
|
|
|
|
# This will be useful when `from cliutils import *`
|
|
__all__ = ["runcli",
|
|
"sync_file_to_peers",
|
|
"execute_in_peers",
|
|
"execute",
|
|
"node_output_ok",
|
|
"node_output_notok",
|
|
"output_error",
|
|
"oknotok",
|
|
"yesno",
|
|
"get_node_uuid",
|
|
"Cmd",
|
|
"GlusterCmdException",
|
|
"set_common_args_func"]
|