diff options
Diffstat (limited to 'databases/cassandra4/files/patch-doc_gen-nodetool-docs.py')
-rw-r--r-- | databases/cassandra4/files/patch-doc_gen-nodetool-docs.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/databases/cassandra4/files/patch-doc_gen-nodetool-docs.py b/databases/cassandra4/files/patch-doc_gen-nodetool-docs.py deleted file mode 100644 index 4a07e5d17672..000000000000 --- a/databases/cassandra4/files/patch-doc_gen-nodetool-docs.py +++ /dev/null @@ -1,20 +0,0 @@ ---- doc/gen-nodetool-docs.py.orig 2020-04-10 22:29:25 UTC -+++ doc/gen-nodetool-docs.py -@@ -57,7 +57,7 @@ def create_rst(command): - cmdName = command.group(0).strip() - cmdFilename = outdir + "/" + cmdName + ".txt" - rstFilename = outdir + "/" + cmdName + ".rst" -- with open(cmdFilename, "w+") as cmdFile: -+ with open(cmdFilename, "w+b") as cmdFile: - proc = Popen([nodetool, "help", cmdName], stdin=PIPE, stdout=PIPE) - (out, err) = proc.communicate() - cmdFile.write(out) -@@ -76,7 +76,7 @@ with open(outdir + "/nodetool.rst", "w+") as output: - output.write(command) - - # create the command usage pages --with open(helpfilename, "rw+") as helpfile: -+with open(helpfilename, "r+") as helpfile: - for commandLine in helpfile: - command = command_re.match(commandLine) - create_rst(command) |