Fix falsy-dict-get-fallback ruff warning (#3226)
This commit is contained in:
parent
697ccd1ac5
commit
49347c2f82
|
|
@ -299,7 +299,7 @@ class MirrorConfiguration:
|
||||||
for region, urls in mirror_regions.items():
|
for region, urls in mirror_regions.items():
|
||||||
config.mirror_regions.append(MirrorRegion(region, urls))
|
config.mirror_regions.append(MirrorRegion(region, urls))
|
||||||
|
|
||||||
if args.get('custom_servers', []):
|
if args.get('custom_servers'):
|
||||||
config.custom_servers = CustomServer.parse_args(args['custom_servers'])
|
config.custom_servers = CustomServer.parse_args(args['custom_servers'])
|
||||||
|
|
||||||
# backwards compatibility with the new custom_repository
|
# backwards compatibility with the new custom_repository
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue