summaryrefslogtreecommitdiffstats
path: root/extras/cliutils/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'extras/cliutils/README.md')
-rw-r--r--extras/cliutils/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/cliutils/README.md b/extras/cliutils/README.md
index 2e0ffe772c7..e11166774e3 100644
--- a/extras/cliutils/README.md
+++ b/extras/cliutils/README.md
@@ -81,7 +81,7 @@ to address the following issues
Create a file in `$LIBEXEC/glusterfs/peer_message.py` with following
content.
- #!/usr/bin/python2
+ #!/usr/bin/python3
from gluster.cliutils import Cmd, runcli, execute_in_peers, node_output_ok
class NodeHello(Cmd):
@@ -149,7 +149,7 @@ Now users can use `gluster-message` instead of calling
Following example uses prettytable library, which can be installed
using `pip install prettytable` or `dnf install python-prettytable`
- #!/usr/bin/python2
+ #!/usr/bin/python3
from prettytable import PrettyTable
from gluster.cliutils import Cmd, runcli, execute_in_peers, node_output_ok