Snap for 6633004 from de751e71a3520f14df56cf5ae6266ee3d3aa3f62 to r-keystone-qcom-release

Change-Id: I5cafec03a0bdeaa8bca48d41ed999ae5a6a4b4cd
diff --git a/etc/jdigen.py b/etc/jdigen.py
index a5ba1a5..d8ce8af 100644
--- a/etc/jdigen.py
+++ b/etc/jdigen.py
@@ -51,7 +51,7 @@
 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())