process.stdout.decode().strip())
-def read_search_path(conf: configparser.SectionProxy) -> Channel:
+def read_search_path(conf: configparser.SectionProxy) -> SearchPath:
return Channel(**dict(conf.items()))
if args.channels and section not in args.channels:
continue
- channel = read_search_path(config[section])
+ sp = read_search_path(config[section])
- channel.pin(v, config[section])
+ sp.pin(v, config[section])
with open(args.channels_file, 'w') as configfile:
config.write(configfile)