Remove gnupg_import_ok_pattern no longer needed

This commit is contained in:
Kajisav 2017-03-04 01:28:01 -06:00
parent 57cf1147d2
commit b3f951e3c3
No known key found for this signature in database
GPG Key ID: E72D73D9897721A4

View File

@ -40,16 +40,6 @@ gettext.install('torbrowser-launcher')
from twisted.internet import gtk2reactor
gtk2reactor.install()
# 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(
"(\[GNUPG\:\]) (IMPORT_OK) ([0-9]|[1]?[0-5]) ([A-F0-9]{40})")
class Common:
def __init__(self, tbl_version):