aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/jdigen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/jdigen.py b/etc/jdigen.py
index a5ba1a562..d8ce8afcc 100644
--- a/etc/jdigen.py
+++ b/etc/jdigen.py
@@ -51,7 +51,7 @@ public final class jdi extends ListResourceBundle {{
INSTANCE_FORMAT = '{{ "{key}", "{value}" }},\n'
VALUES = ""
-with open(args[1], 'r+') as inp:
+with open(args[1], 'r') as inp:
for l in inp.readlines():
key, value = l.split('=')
VALUES += INSTANCE_FORMAT.format(key = key.strip(), value = value.strip())