aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/make_contributing.py
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts/make_contributing.py')
-rwxr-xr-xdevscripts/make_contributing.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/devscripts/make_contributing.py b/devscripts/make_contributing.py
index 8c5f107..e777730 100755
--- a/devscripts/make_contributing.py
+++ b/devscripts/make_contributing.py
@@ -1,7 +1,5 @@
#!/usr/bin/env python3
-from __future__ import unicode_literals
-import io
import optparse
import re
@@ -16,7 +14,7 @@ def main():
infile, outfile = args
- with io.open(infile, encoding='utf-8') as inf:
+ with open(infile, encoding='utf-8') as inf:
readme = inf.read()
bug_text = re.search(
@@ -26,7 +24,7 @@ def main():
out = bug_text + dev_text
- with io.open(outfile, 'w', encoding='utf-8') as outf:
+ with open(outfile, 'w', encoding='utf-8') as outf:
outf.write(out)