Skip to content
Snippets Groups Projects
Verified Commit a7cdd0a8 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

pycman: allow new CacheServer config option

Introduced in pacman 6.1, needs more work to be supported properly.
parent 67a1fb83
No related branches found
Tags 0.10.3
1 merge request!21pycman: allow new CacheServer config option
Pipeline #93893 failed
......@@ -64,6 +64,7 @@ SINGLE_OPTIONS = (
'LogFile',
'Architecture',
'XferCommand',
'CacheServer'
'CleanMethod',
'SigLevel',
'LocalFileSigLevel',
......@@ -125,7 +126,7 @@ class PacmanConfEnumeratorSession():
continue
if current_section != 'options':
# repos only have the Server, SigLevel, Usage options
if key in ('Server', 'SigLevel', 'Usage') and equal == '=':
if key in ('Server', 'SigLevel', 'Usage', 'CacheServer') and equal == '=':
yield (current_section, key, value)
else:
raise InvalidSyntax(f.name, 'invalid key for repository configuration', line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment