Mercurial > kallithea
changeset 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 | b86229c66c67 |
children | a5746b83123f |
files | rhodecode/lib/middleware/simplegit.py rhodecode/lib/middleware/simplehg.py |
diffstat | 2 files changed, 1 insertions(+), 4 deletions(-) [+] |
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')
--- a/rhodecode/lib/middleware/simplehg.py Wed May 08 17:40:40 2013 +0200 +++ b/rhodecode/lib/middleware/simplehg.py Wed May 08 17:43:59 2013 +0200 @@ -185,8 +185,6 @@ 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')