diff rhodecode/lib/middleware/simplegit.py @ 3823:972ad33c5610 beta

removed duplicate code that set os.environ['RC_SCM_DATA'] this was done via __inject_extras anyway
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 08 May 2013 17:43:59 +0200
parents 336184b9f4cf
children b84c83b651de
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py	Wed May 08 17:40:40 2013 +0200
+++ b/rhodecode/lib/middleware/simplegit.py	Wed May 08 17:43:59 2013 +0200
@@ -222,8 +222,7 @@
             # store the make_lock for later evaluation in hooks
             extras.update({'make_lock': make_lock,
                            'locked_by': locked_by})
-        # set the environ variables for this request
-        os.environ['RC_SCM_DATA'] = json.dumps(extras)
+
         fix_PATH()
         log.debug('HOOKS extras is %s' % extras)
         baseui = make_ui('db')