summaryrefslogtreecommitdiff
path: root/misc/scripts/fix_headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/scripts/fix_headers.py')
-rw-r--r--misc/scripts/fix_headers.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/scripts/fix_headers.py b/misc/scripts/fix_headers.py
index 809820c20f..48b9628b1f 100644
--- a/misc/scripts/fix_headers.py
+++ b/misc/scripts/fix_headers.py
@@ -92,9 +92,11 @@ while (fname != ""):
fileread.close()
# Write
- fileread = open(fname.strip(), "wb")
- fileread.write(text)
- fileread.close()
+ filewrite = open(fname.strip(), "wb")
+ filewrite.write(text)
+ filewrite.close()
# Next file
fname = files.readline()
+
+files.close() \ No newline at end of file