[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 3b1b0190d433281f995c989b7328b6c7a279f554
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
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))
 
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits