Update packaging info script
This commit is contained in:
parent
1480faf32f
commit
d2f990366b
1 changed files with 2 additions and 2 deletions
|
@ -251,10 +251,10 @@ def get_suse_versions():
|
|||
print >> sys.stderr, "Suse ..."
|
||||
ftp = ftplib.FTP("mirror.switch.ch")
|
||||
ftp.login()
|
||||
releases, _ = ftp_list_dir(ftp, "/mirror/opensuse/opensuse/distribution/leap/")
|
||||
releases, _ = ftp_list_dir(ftp, "/mirror/opensuse/opensuse/ports/update/leap/")
|
||||
versions = []
|
||||
for release in releases:
|
||||
root = "/mirror/opensuse/opensuse/distribution/leap/{0}/repo/oss/suse/repodata/".format(release)
|
||||
root = "/mirror/opensuse/opensuse/ports/update/leap/{0}/oss/repodata/".format(release)
|
||||
_, files = ftp_list_dir(ftp, root)
|
||||
for fname in files:
|
||||
if fname.endswith("-primary.xml.gz"):
|
||||
|
|
Loading…
Reference in a new issue