Show More
@@ -136,7 +136,10 b' def _extras_from_ui(ui):' | |||
|
136 | 136 | hook_data = ui.config('rhodecode', 'RC_SCM_DATA') |
|
137 | 137 | if not hook_data: |
|
138 | 138 | # maybe it's inside environ ? |
|
139 | hook_data = os.environ.get('RC_SCM_DATA') | |
|
139 | env_hook_data = os.environ.get('RC_SCM_DATA') | |
|
140 | if env_hook_data: | |
|
141 | hook_data = env_hook_data | |
|
142 | ||
|
140 | 143 | extras = json.loads(hook_data) |
|
141 | 144 | return extras |
|
142 | 145 |
General Comments 0
You need to be logged in to leave comments.
Login now