Show More
@@ -71,12 +71,13 b' class SettingsMaker:' | |||||
71 | Special case string function that detects if value is set to empty quote string |
|
71 | Special case string function that detects if value is set to empty quote string | |
72 | e.g. |
|
72 | e.g. | |
73 |
|
73 | |||
74 | core.binar_dir = "" |
|
74 | core.binary_dir = "" | |
75 | """ |
|
75 | """ | |
76 |
|
76 | |||
77 | input_val = cls._string_func(input_val, lower=lower) |
|
77 | input_val = cls._string_func(input_val, lower=lower) | |
78 | if input_val in ['""', "''"]: |
|
78 | if input_val in ['""', "''"]: | |
79 | return '' |
|
79 | return '' | |
|
80 | return input_val | |||
80 |
|
81 | |||
81 | @classmethod |
|
82 | @classmethod | |
82 | def _dir_func(cls, input_val, ensure_dir=False, mode=0o755): |
|
83 | def _dir_func(cls, input_val, ensure_dir=False, mode=0o755): |
@@ -716,7 +716,9 b' def sanitize_settings_and_apply_defaults' | |||||
716 | settings_maker.make_setting('pyramid.default_locale_name', 'en') |
|
716 | settings_maker.make_setting('pyramid.default_locale_name', 'en') | |
717 | settings_maker.make_setting('locale', 'en_US.UTF-8') |
|
717 | settings_maker.make_setting('locale', 'en_US.UTF-8') | |
718 |
|
718 | |||
719 | settings_maker.make_setting('core.binary_dir', '/usr/local/bin/rhodecode_bin/vcs_bin', parser='string:noquote') |
|
719 | settings_maker.make_setting( | |
|
720 | 'core.binary_dir', '/usr/local/bin/rhodecode_bin/vcs_bin', | |||
|
721 | default_when_empty=True, parser='string:noquote') | |||
720 |
|
722 | |||
721 | temp_store = tempfile.gettempdir() |
|
723 | temp_store = tempfile.gettempdir() | |
722 | default_cache_dir = os.path.join(temp_store, 'rc_cache') |
|
724 | default_cache_dir = os.path.join(temp_store, 'rc_cache') |
General Comments 0
You need to be logged in to leave comments.
Login now