diff --git a/utils/mkrest.py b/utils/mkrest.py index 6ccff980df6..a5320ef2d01 100755 --- a/utils/mkrest.py +++ b/utils/mkrest.py @@ -81,10 +81,8 @@ def read_file(name): if tmp_data: sys.stdout.write(tmp_data) -arguments = ['pandoc', '-s', '-r', 'html', src_file, '-w', 'rst'] -process = subprocess.Popen( - arguments, stdout=subprocess.PIPE -) +arguments = ["pandoc", "-s", "-r", "html", src_file, "-w", "rst"] +process = subprocess.Popen(arguments, stdout=subprocess.PIPE) html_text = process.communicate()[0] if html_text: for k, v in replacement.iteritems():