changeset 4256:e2ac4623c1c4

hooks: RC_SCM_DATA was renamed to KALLITHEA_EXTRAS ... but set it anyway to be backwards compatible
author Travis Burtrum <android@moparisthebest.com>
date Mon, 14 Jul 2014 21:12:23 +0200
parents 074f9dd32736
children 7dba6116496c
files kallithea/lib/utils2.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/utils2.py	Mon Jul 14 21:12:23 2014 +0200
+++ b/kallithea/lib/utils2.py	Mon Jul 14 21:12:23 2014 +0200
@@ -634,7 +634,8 @@
 
 
 def _set_extras(extras):
-    os.environ['KALLITHEA_EXTRAS'] = json.dumps(extras)
+    # RC_SCM_DATA can probably be removed in the future, but for compatibilty now...
+    os.environ['KALLITHEA_EXTRAS'] = os.environ['RC_SCM_DATA'] = json.dumps(extras)
 
 
 def unique_id(hexlen=32):