summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck-style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-style.py b/check-style.py
index f3f718c90..7275af042 100755
--- a/check-style.py
+++ b/check-style.py
@@ -76,11 +76,11 @@ def reformat_chunks(chunks, rewrite):
# uncrustify chunk
proc = subprocess.Popen(["uncrustify", "-c", uncrustify_cfg, "-f", tmp.name], stdout=subprocess.PIPE)
+ reindented = proc.stdout.readlines()
proc.wait()
if proc.returncode != 0:
continue
- reindented = proc.stdout.readlines()
tmp.close()
# Remove INDENT-ON/OFF comments