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

Commits:

1 changed file:

Changes:

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