changeset 4204:bd720d050d68 kallithea-2.2.5-rebrand

Rename RC_SCM_DATA to KALLITHEA_EXTRAS
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:05:36 -0400
parents 9daad8c50b37
children 5b3bbffea092
files kallithea/lib/utils2.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/utils2.py	Wed Jul 02 19:05:36 2014 -0400
+++ b/kallithea/lib/utils2.py	Wed Jul 02 19:05:36 2014 -0400
@@ -615,7 +615,7 @@
         env = os.environ
 
     try:
-        rc_extras = json.loads(env['RC_SCM_DATA'])
+        rc_extras = json.loads(env['KALLITHEA_EXTRAS'])
     except Exception:
         print os.environ
         print >> sys.stderr, traceback.format_exc()
@@ -632,7 +632,7 @@
 
 
 def _set_extras(extras):
-    os.environ['RC_SCM_DATA'] = json.dumps(extras)
+    os.environ['KALLITHEA_EXTRAS'] = json.dumps(extras)
 
 
 def unique_id(hexlen=32):