# Fetch all repositories
repos = await self.fetch_repos()
- # Apply some general settings
- if local:
- config["general"] = {}
-
# Add the distro configuration
if self.distro:
- self.distro.write_config(config, local=local,
- vendor=self.vendor, contact=self.contact)
+ self.distro.write_config(
+ config,
+ local = local,
+ vendor = self.vendor,
+ contact = self.contact,
+ )
# Add the repository configurations
for repo in sorted(repos):
- repo.write_config(config, local=local, include_source=self.include_source,
- mirrored=self.mirrored, build=self.build)
+ repo.write_config(
+ config,
+ local = local,
+ include_source = self.include_source,
+ mirrored = self.mirrored,
+ build = self.build,
+ )
# Allocate a buffer and write the configuration to it
f = io.StringIO()