request = urllib.request.urlopen(channel.channel_url, timeout=10)
channel_html = request.read().decode()
forwarded_url = request.geturl()
request = urllib.request.urlopen(channel.channel_url, timeout=10)
channel_html = request.read().decode()
forwarded_url = request.geturl()
def updateCommand(args: argparse.Namespace) -> None:
v = Verification()
exprs: Dict[str, str] = {}
def updateCommand(args: argparse.Namespace) -> None:
v = Verification()
exprs: Dict[str, str] = {}
config = {
section: read_pinned_config_section(section, conf) for section,
conf in read_config_files(
config = {
section: read_pinned_config_section(section, conf) for section,
conf in read_config_files(
alias, nonalias = partition_dict(
lambda k, v: isinstance(v[0], AliasSearchPath), config)
alias, nonalias = partition_dict(
lambda k, v: isinstance(v[0], AliasSearchPath), config)
assert not isinstance(sp, AliasSearchPath) # mypy can't see through
assert not isinstance(pin, AliasPin) # partition_dict()
tarball = sp.fetch(v, pin)
assert not isinstance(sp, AliasSearchPath) # mypy can't see through
assert not isinstance(pin, AliasPin) # partition_dict()
tarball = sp.fetch(v, pin)
exprs[section] = (
'f: f { name = "%s"; channelName = "%%s"; src = builtins.storePath "%s"; }' %
(pin.release_name, tarball))
exprs[section] = (
'f: f { name = "%s"; channelName = "%%s"; src = builtins.storePath "%s"; }' %
(pin.release_name, tarball))