/[ports]
ViewVC logotype

Revision 459260


Jump to revision: Previous Next
Author: tobik
Date: Wed Jan 17 14:30:51 2018 UTC (6 years, 5 months ago)
Changed paths: 3
Log Message:
MFH: r459259

ports-mgmt/fastest_sites: Fix runtime with modern bsd.sites.mk

fastest_sites currently can't parse entries like

https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE

 => Checking servers for MASTER_SITE_FEDORA_LINUX (6 servers)
Traceback (most recent call last):
  File "/usr/local/bin/fastest_sites", line 164, in <module>
    latency_list = FindFastest(varname, sitelist)
  File "/usr/local/bin/fastest_sites", line 110, in FindFastest
    AsyncConnect(url, callback)
  File "/usr/local/bin/fastest_sites", line 53, in __init__
    self.ParseURL()
  File "/usr/local/bin/fastest_sites", line 64, in ParseURL
    (scheme, remainder) = self._url.split(":", 2)
ValueError: too many values to unpack

PR:		224854

Approved by:	ports-secteam blanket


Changed paths

Path Details
Directorybranches/2018Q1/ modified , props changed
Directorybranches/2018Q1/ports-mgmt/fastest_sites/Makefile modified , text changed
Directorybranches/2018Q1/ports-mgmt/fastest_sites/files/
(Copied from head/ports-mgmt/fastest_sites/files, r459259)
added

  ViewVC Help
Powered by ViewVC 1.1.27