[tor-commits] [Git][tpo/applications/torbrowser-launcher][main] Remove gnupg_import_ok_pattern from torbrowser_launcher/common.py (#12)

boklm (@boklm) git at gitlab.torproject.org
Thu Jan 11 18:46:47 UTC 2024



boklm pushed to branch main at The Tor Project / Applications / torbrowser-launcher


Commits:
10a13e3f by Nicolas Vigier at 2024-01-11T13:33:31+01:00
Remove gnupg_import_ok_pattern from torbrowser_launcher/common.py (#12)

According to https://github.com/torproject/torbrowser-launcher/pull/716
the definition of `gnupg_import_ok_pattern` in
`torbrowser_launcher/common.py` is causing some warnings.

But it looks like it is not being used since
83fa1d38c44f16a76dd98407e321b9cc9b5b5743, so we can remove it.

Thanks to meator for reporting the issue.

- - - - -


1 changed file:

- torbrowser_launcher/common.py


Changes:

=====================================
torbrowser_launcher/common.py
=====================================
@@ -41,15 +41,6 @@ SHARE = os.getenv("TBL_SHARE", sys.prefix + "/share") + "/torbrowser-launcher"
 
 gettext.install("torbrowser-launcher")
 
-# We're looking for output which:
-#
-#  1. The first portion must be `[GNUPG:] IMPORT_OK`
-#  2. The second must be an integer between [0, 15], inclusive
-#  3. The third must be an uppercased hex-encoded 160-bit fingerprint
-gnupg_import_ok_pattern = re.compile(
-    b"(\[GNUPG\:\]) (IMPORT_OK) ([0-9]|[1]?[0-5]) ([A-F0-9]{40})"
-)
-
 
 class Common(object):
     def __init__(self, tbl_version):



View it on GitLab: https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/commit/10a13e3fac9c152cf03fb081ed334996bb55a244

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/commit/10a13e3fac9c152cf03fb081ed334996bb55a244
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240111/0ce9ad12/attachment-0001.htm>


More information about the tor-commits mailing list