Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-15515 contrib: epython scripts to python3 conversion
[fs/lustre-release.git]
/
contrib
/
debug_tools
/
epython_scripts
/
rpc_opcode.py
diff --git
a/contrib/debug_tools/epython_scripts/rpc_opcode.py
b/contrib/debug_tools/epython_scripts/rpc_opcode.py
index
6aa8d58
..
0b06b09
100644
(file)
--- a/
contrib/debug_tools/epython_scripts/rpc_opcode.py
+++ b/
contrib/debug_tools/epython_scripts/rpc_opcode.py
@@
-114,9
+114,9
@@
opcodes = {
def translate_opcodes(opc_list):
for opc in opc_list:
try:
- print
"o%d \t= %s" % (opc, opcodes[opc]
)
+ print
("o%d \t= %s" % (opc, opcodes[opc])
)
except:
- print
"o%d \t= unknown" % opc
+ print
("o%d \t= unknown" % opc)
if __name__ == "__main__":