File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ def __init__(
108
108
self .timeout : int = 60
109
109
self .url : Optional [str ] = None
110
110
self .user_agent : str = USER_AGENT
111
+ self .keep_base_url : bool = False
111
112
112
113
self ._files = _get_config_files (config_files )
113
114
if self ._files :
@@ -235,6 +236,15 @@ def _parse_config(self) -> None:
235
236
except _CONFIG_PARSER_ERRORS :
236
237
pass
237
238
239
+ try :
240
+ self .keep_base_url = _config .getboolean ("global" , "keep_base_url" )
241
+ except _CONFIG_PARSER_ERRORS :
242
+ pass
243
+ try :
244
+ self .keep_base_url = _config .getboolean (self .gitlab_id , "keep_base_url" )
245
+ except _CONFIG_PARSER_ERRORS :
246
+ pass
247
+
238
248
try :
239
249
self .retry_transient_errors = _config .getboolean (
240
250
"global" , "retry_transient_errors"
You can’t perform that action at this time.
0 commit comments