[tor-commits] [gettor/master] Fix typo in new gitlab links

cohosh at torproject.org cohosh at torproject.org
Fri Jun 12 15:47:45 UTC 2020


commit 3b1b0190d433281f995c989b7328b6c7a279f554
Author: Cecylia Bocovich <cohosh at torproject.org>
Date:   Fri Jun 12 11:45:35 2020 -0400

    Fix typo in new gitlab links
---
 scripts/add_links_to_db | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/add_links_to_db b/scripts/add_links_to_db
index 4078bf0..411a16d 100755
--- a/scripts/add_links_to_db
+++ b/scripts/add_links_to_db
@@ -148,7 +148,8 @@ def main():
                     c.execute(
                         "INSERT INTO links(link, platform, language, arch, version, provider, status, file)"
                         "VALUES ('%s', '%s', '%s', '64', '%s', '%s', 'ACTIVE', '%s')"
-                        % (providers.get(p).replace("arch", k).replace("version", version) +
+                        % (providers.get(p).replace("arch", k).replace("version",
+                            version.replace(".", "-")) +
                             release_link, k, l, version, p, release_link))
 
 



More information about the tor-commits mailing list