[thunderbird-lightning/el5] Add mozilla-py24.patch
Orion Poplawski
orion at fedoraproject.org
Tue Mar 19 21:15:19 UTC 2013
commit 48e74e7aa5b6ade5d20aa7d1735857a7336a42aa
Author: Orion Poplawski <orion at nwra.com>
Date: Tue Mar 19 15:14:57 2013 -0600
Add mozilla-py24.patch
mozilla-py24.patch | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/mozilla-py24.patch b/mozilla-py24.patch
new file mode 100644
index 0000000..2931a6e
--- /dev/null
+++ b/mozilla-py24.patch
@@ -0,0 +1,15 @@
+diff -up comm-beta/mozilla/config/writemozinfo.py.py24 comm-beta/mozilla/config/writemozinfo.py
+--- comm-beta/mozilla/config/writemozinfo.py.py24 2013-02-25 14:58:40.795115979 -0700
++++ comm-beta/mozilla/config/writemozinfo.py 2013-02-26 09:05:16.992955934 -0700
+@@ -112,7 +112,10 @@ def write_json(file, env=os.environ):
+
+ if __name__ == '__main__':
+ try:
+- write_json(sys.argv[1] if len(sys.argv) > 1 else sys.stdout)
++ if len(sys.argv) > 1:
++ write_json(sys.argv[1])
++ else:
++ write_json(sys.stdout)
+ except Exception, e:
+ print >>sys.stderr, str(e)
+ sys.exit(1)
More information about the scm-commits
mailing list